diff options
Diffstat (limited to '')
-rw-r--r-- | examples/snowpack/README.md | 2 | ||||
-rw-r--r-- | examples/snowpack/src/pages/tutorials/getting-started.md | 2 | ||||
-rw-r--r-- | examples/snowpack/src/pages/tutorials/quick-start.md | 2 | ||||
-rw-r--r-- | examples/snowpack/src/pages/tutorials/react.md | 2 | ||||
-rw-r--r-- | examples/snowpack/src/pages/tutorials/svelte.md | 4 |
5 files changed, 6 insertions, 6 deletions
diff --git a/examples/snowpack/README.md b/examples/snowpack/README.md index c3a71d6f8..bde1f0826 100644 --- a/examples/snowpack/README.md +++ b/examples/snowpack/README.md @@ -27,7 +27,7 @@ npm install 3. Run the Astro dev environment. ```shell -npm run start +npm start ``` 4. Build the website. (Not yet working.) 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`). |