diff options
author | 2021-08-19 01:07:08 -0400 | |
---|---|---|
committer | 2021-08-18 22:07:08 -0700 | |
commit | e66872125d6a5e5246aeb7a2f1d5784d5c5493b7 (patch) | |
tree | 05bfcb3ec8c33a798fdc32b8d1633151e7a8a113 /examples/docs/src | |
parent | ece0953aed6879b4e7bf2b812b4a20508181b496 (diff) | |
download | astro-e66872125d6a5e5246aeb7a2f1d5784d5c5493b7.tar.gz astro-e66872125d6a5e5246aeb7a2f1d5784d5c5493b7.tar.zst astro-e66872125d6a5e5246aeb7a2f1d5784d5c5493b7.zip |
add dev script, switch documentation from advising start to dev script (#1141)
Diffstat (limited to 'examples/docs/src')
-rw-r--r-- | examples/docs/src/pages/index.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/docs/src/pages/index.md b/examples/docs/src/pages/index.md index 025727263..93d75c113 100644 --- a/examples/docs/src/pages/index.md +++ b/examples/docs/src/pages/index.md @@ -29,7 +29,7 @@ npm init astro npm install # start the dev server and open your browser -npm start +npm run dev ``` ### 🚀 Build & Deployment @@ -39,7 +39,7 @@ The default Astro project has the following `scripts` in the `/package.json` fil ```json { "scripts": { - "start": "astro dev", + "dev": "astro dev", "build": "astro build" } } @@ -48,7 +48,7 @@ The default Astro project has the following `scripts` in the `/package.json` fil For local development, run: ``` -npm start +npm run dev ``` To build for production, run the following command: |