対象èªè
-
JavaScriptãNext.jsãWebéçºã®åºç¤ãç解ãã¦ããæ¹
- Next.jsã«ã¤ãã¦ã¯ãNext.jsã®ã·ã³ã°ã«ãã¼ã¸ã¢ããªã±ã¼ã·ã§ã³ããããã¤ãã¦ãåºæ¬ããã¹ã¿ã¼ããããåç §ãã¦ãã ããã
- Gitããã³GitHubã®çµé¨ãããæ¹
- CI/CDã®çµé¨ãããæ¹
-
Webã®ãã¹ãã£ã³ã°ç°å¢ã«èå³ã®ããæ¹
- NetlifyãGitHub Pagesã®ãçµé¨ãããã¾ãã¨ãããç解ãããããã¨æãã¾ãã
åæç°å¢
ãçè ã®ç°å¢ã¯æ¬¡ã®éãã§ãã
- Windows 10
- Visual Studio Code
- Next.js
- Vercelã¢ã«ã¦ã³ã
- GitHubã¢ã«ã¦ã³ã
Vercelã¨ã¯
ãVercelã¯CI/CDã¨Webãµã¼ãã¼ãåããã£ããµã¼ãã¹ã§ããç¡æã§å§ãããã¨ãã§ããGitHubãªã©ã®ãªãã¸ããªã¨é£æºãããã¨ã§æ軽ã«ã¢ããªã±ã¼ã·ã§ã³ããããã¤ãããã¨ãå¯è½ã§ããã¾ããCDNãå«ã¾ãã¦ããããé«éãªãã¼ã¸è¡¨ç¤ºãå¯è½ã¨ãªã£ã¦ãã¾ãã
ãVercelãç®æãã¦ãããã¨ã¯ãæé«ã®éçºè ã¨ã¯ã¹ããªã¨ã³ã¹ã¨ã¨ã³ãã¦ã¼ã¶ã¼ã®ããã©ã¼ãã³ã¹ã¸ã®ãã ããã§ãããã¼ã éçºããµãã¼ããã¦ãããéçºãã¼ã ã«ããã«çµã¿è¾¼ããã¨ãå¯è½ã§ãã
ãç¾å¨ã§ã¯é»åååå¼ãæ è¡ããã¥ã¼ã¹ããã¼ã±ãã£ã³ã°ã¨ãã£ããã¾ãã¾ãªç¨éã«ä½¿ããã¦ããã代表çãªãµã¤ãã¯Patreonãããã¾ãã
Vercelãæã¤3ã¤ã®ç¹é·
ãVercelã§ã¯ä»ã®ãµã¼ãã¹ã¨æ¯ã¹ã¦3ã¤ã®ç¹é·ãããã¾ãã
1. Fast Refresh
ãã©ã¤ãã¨ãã£ããã«å¯¾å¿ãã¦ãã¾ããã³ã¼ãã§å¤æ´ããç®æãå³åº§ã«ãã©ã¦ã¶ä¸ã§ç¢ºèªã§ãã¾ãã
2. Flexible Data Fetching
ãä½æãããã¼ã¸ãä»»æã®ãã¼ã¿ã½ã¼ã¹ããããã¬ã¹CMSãAPIã«æ¥ç¶ããéçºç°å¢ã§åä½ããããã¨ãã§ãã¾ãã
3. Edge on Localhost
ããã£ãã·ã¥ãããµã¼ãã¼ã¬ã¹ãã¡ã³ã¯ã·ã§ã³ã¾ã§ããã¹ã¦ãã¼ã«ã«ãã¹ãã§å®å ¨ã«åä½ãã¾ãã