瀏覽代碼

gatsby: add page (#1795)

Tom Hill 7 年之前
父節點
當前提交
fbc2483c6b
共有 1 個文件被更改,包括 23 次插入0 次删除
  1. 23 0
      pages/common/gatsby.md

+ 23 - 0
pages/common/gatsby.md

@@ -0,0 +1,23 @@
+# gatsby
+
+> Static site generator for React.
+
+- Create a new site:
+
+`gatsby new {{site_name}}`
+
+- Create a new site with a Gatsby 'starter':
+
+`gatsby new {{site_name}} {{url_of_starter_github_repo}}`
+
+- Start a live-reloading local development server:
+
+`gatsby develop`
+
+- Perform a production build and generate static HTML:
+
+`gatsby build`
+
+- Start a local server which serves the production build:
+
+`gatsby serve`