GatsbyJS學習筆記(一):初次使用

Image for post
Image for post
重點整理:###更改網頁內容請進入/src進行修改
###gatsby build會在/public產生靜態檔案

安裝Gatsby CLI.

npm install -g gatsby-cli

建立新網站

gatsby new gatsby-site

進入新網站的資料夾中

cd gatsby-site

啟動開發Server.

gatsby develop

編譯出網頁

gatsby build

在本地啟動Server

gatsby serve

Written by

Machine Learning / Deep Learning / Python / Flutter cakeresume.com/yanwei-liu

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store