diff options
author | 2021-08-19 01:07:08 -0400 | |
---|---|---|
committer | 2021-08-18 22:07:08 -0700 | |
commit | e66872125d6a5e5246aeb7a2f1d5784d5c5493b7 (patch) | |
tree | 05bfcb3ec8c33a798fdc32b8d1633151e7a8a113 /examples/blog | |
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/blog')
-rw-r--r-- | examples/blog/README.md | 2 | ||||
-rw-r--r-- | examples/blog/package.json | 1 | ||||
-rw-r--r-- | examples/blog/src/pages/posts/introducing-astro.md | 2 |
3 files changed, 3 insertions, 2 deletions
diff --git a/examples/blog/README.md b/examples/blog/README.md index b317f3bc3..09673cc3d 100644 --- a/examples/blog/README.md +++ b/examples/blog/README.md @@ -43,7 +43,7 @@ All commands are run from the root of the project, from a terminal: | Command | Action | |:----------------|:--------------------------------------------| | `npm install` | Installs dependencies | -| `npm start` | Starts local dev server at `localhost:3000` | +| `npm run dev` | Starts local dev server at `localhost:3000` | | `npm run build` | Build your production site to `./dist/` | ## 👀 Want to learn more? diff --git a/examples/blog/package.json b/examples/blog/package.json index 4d09610e0..4f8e7c6d5 100644 --- a/examples/blog/package.json +++ b/examples/blog/package.json @@ -3,6 +3,7 @@ "version": "0.0.1", "private": true, "scripts": { + "dev": "astro dev", "start": "astro dev", "build": "astro build" }, diff --git a/examples/blog/src/pages/posts/introducing-astro.md b/examples/blog/src/pages/posts/introducing-astro.md index cf849514b..114161cd9 100644 --- a/examples/blog/src/pages/posts/introducing-astro.md +++ b/examples/blog/src/pages/posts/introducing-astro.md @@ -38,7 +38,7 @@ npm init astro npm install # start the dev server and open your browser -npm start +npm run dev ``` > To learn more about Astro and start building your first site, check out [the project README.](https://github.com/snowpackjs/astro#-guides). |