From 9d4ff6738a1d4f8511e729bc89127691fc7ff9c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20S=C3=A1ez?= Date: Thu, 17 Mar 2022 13:06:27 +0000 Subject: [PATCH] [docs] Correct default port on blog posts (#7372) --- .../blog/2017-08-07-the-easiest-way-to-get-started.md | 5 ++--- site/content/blog/2019-04-16-svelte-for-new-developers.md | 4 ++-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/site/content/blog/2017-08-07-the-easiest-way-to-get-started.md b/site/content/blog/2017-08-07-the-easiest-way-to-get-started.md index 72d9d8895b..41666d0cb2 100644 --- a/site/content/blog/2017-08-07-the-easiest-way-to-get-started.md +++ b/site/content/blog/2017-08-07-the-easiest-way-to-get-started.md @@ -31,8 +31,7 @@ npm install npm run dev ``` -This will serve your app on [localhost:5000](http://localhost:5000) and rebuild it with [Rollup](https://rollupjs.org) every time you make a change to the files in `svelte-app/src`. - +This will serve your app on [localhost:8080](http://localhost:8080) and rebuild it with [Rollup](https://rollupjs.org) every time you make a change to the files in `svelte-app/src`. ## 2. Use degit @@ -50,7 +49,7 @@ npm install npm run dev ``` -This will create a new project in the `my-svelte-project` directory, install its dependencies, and start a server on http://localhost:5000. +This will create a new project in the `my-svelte-project` directory, install its dependencies, and start a server on http://localhost:8080. You can find more information about using TypeScript [here](/blog/svelte-and-typescript). diff --git a/site/content/blog/2019-04-16-svelte-for-new-developers.md b/site/content/blog/2019-04-16-svelte-for-new-developers.md index 76308da547..c4ff4716e3 100644 --- a/site/content/blog/2019-04-16-svelte-for-new-developers.md +++ b/site/content/blog/2019-04-16-svelte-for-new-developers.md @@ -78,7 +78,7 @@ npm run dev Running the `dev` script starts a program called [Rollup](https://rollupjs.org/guide/en/). Rollup's job is to take your application's source files (so far, just `src/main.js` and `src/App.svelte`), pass them to other programs (including Svelte, in our case) and convert them into the code that will actually run when you open the application in a browser. -Speaking of which, open a browser and navigate to http://localhost:5000. This is your application running on a local *web server* (hence 'localhost') on port 5000. +Speaking of which, open a browser and navigate to http://localhost:8080. This is your application running on a local *web server* (hence 'localhost') on port 8080. Try changing `src/App.svelte` and saving it. The application will reload with your changes. @@ -99,7 +99,7 @@ Your `public` directory now contains a compressed `bundle.js` file containing yo npm run start ``` -This will run the app on http://localhost:5000. +This will run the app on http://localhost:8080. ## Next steps