diff options
author | 2021-11-11 14:28:51 -0500 | |
---|---|---|
committer | 2021-11-11 13:28:51 -0600 | |
commit | eb4effb6b77f940030110f73a4081b69909a8d5d (patch) | |
tree | 7f9db8975e3dac52f25e75e7db05d949e9bbe96f /docs/src/pages/quick-start.md | |
parent | 529486bfb0d6f0ca54b091b000ed446dd1a085af (diff) | |
download | astro-eb4effb6b77f940030110f73a4081b69909a8d5d.tar.gz astro-eb4effb6b77f940030110f73a4081b69909a8d5d.tar.zst astro-eb4effb6b77f940030110f73a4081b69909a8d5d.zip |
docs: seperate `npm run build` and `npm run dev` to avoid confusion (#1798)
To avoid confusion I seperated the `npm run build` and the `npm run dev` commands, beginners might get confused by each command being listed in the same list, thinking they need to run `npm run build` before Astro works properly.
Add `npm run preview` commands to all examples where they are missing
Diffstat (limited to '')
-rw-r--r-- | docs/src/pages/quick-start.md | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/src/pages/quick-start.md b/docs/src/pages/quick-start.md index ac10b7e70..9d8126e3b 100644 --- a/docs/src/pages/quick-start.md +++ b/docs/src/pages/quick-start.md @@ -19,7 +19,10 @@ npm install # start developing! npm run dev +``` +For production sites, +```shell # when you're ready: build your static site to `dist/` npm run build ``` |