mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 07:42:07 +02:00
gatsby: add page (#1795)
This commit is contained in:
parent
d4c84cd951
commit
fbc2483c6b
1 changed files with 23 additions and 0 deletions
23
pages/common/gatsby.md
Normal file
23
pages/common/gatsby.md
Normal file
|
@ -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`
|
Loading…
Add table
Reference in a new issue