一個以react 作為官網 , 並以gatsby 實現pre-render 的demo, 用於需要做seo的網站
- gaysby static gzip
- gaysby alias 設定
- gaysby link
yarn install
本機開發 :
yarn dev
預設於localhost:8000 開啟HMR
本機部署 :
yarn build
**於本機public
下 (不涵蓋prefix path)
部署gh-pages :
yarn deploy
**預設涵蓋prefix path:react-gatsby-prerender-site/
丟到gh-pages