diff options
author | 2021-07-21 23:09:44 +0900 | |
---|---|---|
committer | 2021-07-21 07:09:44 -0700 | |
commit | 5fcd466d95f9694a758239d254e3d81f4ed289fa (patch) | |
tree | c354d7607ff153c99c5f8dd3d7fa5f215267ed1f /examples/snowpack/src/pages/tutorials | |
parent | 661a52f4dd4979d697aafec71f49620c1ec70f85 (diff) | |
download | astro-5fcd466d95f9694a758239d254e3d81f4ed289fa.tar.gz astro-5fcd466d95f9694a758239d254e3d81f4ed289fa.tar.zst astro-5fcd466d95f9694a758239d254e3d81f4ed289fa.zip |
replace `npm run start` with `npm start` (#791)
Diffstat (limited to 'examples/snowpack/src/pages/tutorials')
4 files changed, 5 insertions, 5 deletions
diff --git a/examples/snowpack/src/pages/tutorials/getting-started.md b/examples/snowpack/src/pages/tutorials/getting-started.md index 07687dffa..9fcb258b2 100644 --- a/examples/snowpack/src/pages/tutorials/getting-started.md +++ b/examples/snowpack/src/pages/tutorials/getting-started.md @@ -80,7 +80,7 @@ Add the Snowpack development server to `package.json` under as the `start` scrip Run the following on the command line to start the Snowpack development server ``` -npm run start +npm start ``` If all went well, Snowpack automatically opens your site in a new browser! diff --git a/examples/snowpack/src/pages/tutorials/quick-start.md b/examples/snowpack/src/pages/tutorials/quick-start.md index a3960453f..db47b2968 100644 --- a/examples/snowpack/src/pages/tutorials/quick-start.md +++ b/examples/snowpack/src/pages/tutorials/quick-start.md @@ -29,7 +29,7 @@ For long-term development, the best way to use Snowpack is with a package.json s ```js // Recommended: package.json scripts -// npm run start (or: "yarn run ...", "pnpm run ...") +// npm start (or: "yarn run ...", "pnpm run ...") "scripts": { "start": "snowpack dev", "build": "snowpack build" diff --git a/examples/snowpack/src/pages/tutorials/react.md b/examples/snowpack/src/pages/tutorials/react.md index 7364f03cc..0b9f38701 100644 --- a/examples/snowpack/src/pages/tutorials/react.md +++ b/examples/snowpack/src/pages/tutorials/react.md @@ -36,7 +36,7 @@ You can now head to the new directory and start Snowpack with the following two ```bash cd react-snowpack -npm run start +npm start ``` You should see your new website up and running! diff --git a/examples/snowpack/src/pages/tutorials/svelte.md b/examples/snowpack/src/pages/tutorials/svelte.md index c25f2bcdb..dd6ae73f0 100644 --- a/examples/snowpack/src/pages/tutorials/svelte.md +++ b/examples/snowpack/src/pages/tutorials/svelte.md @@ -39,7 +39,7 @@ Head to the new `svelte-snowpack` directory and start Snowpack with the followin ```bash cd svelte-snowpack -npm run start +npm start ``` You should see your new website up and running! @@ -75,7 +75,7 @@ module.exports = { ], ``` -Restart your Snowpack dev server to run it with the new configuration. Exit the process (ctrl + c in most Windows/Linux/macOS) and start it again with `npm run start`. +Restart your Snowpack dev server to run it with the new configuration. Exit the process (ctrl + c in most Windows/Linux/macOS) and start it again with `npm start`. > 💡 Tip: Restart the Snowpack development server when you make configuration changes (changes to the `snowpack.config.js`). |