ソースを参照

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`