From 2c2979b9573f6cabff2e88efb7f11dfce67194a8 Mon Sep 17 00:00:00 2001 From: Emanuele Picchirallo Date: Wed, 23 Oct 2024 08:28:33 +0530 Subject: [PATCH 1/2] docs: specify code block's language This change matches the SvelteKit documentation format --- documentation/docs/01-introduction/02-getting-started.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/documentation/docs/01-introduction/02-getting-started.md b/documentation/docs/01-introduction/02-getting-started.md index a83dd27a2b08..57e1d34d60d5 100644 --- a/documentation/docs/01-introduction/02-getting-started.md +++ b/documentation/docs/01-introduction/02-getting-started.md @@ -4,7 +4,7 @@ title: Getting started We recommend using [SvelteKit](../kit), the official application framework from the Svelte team powered by [Vite](https://vite.dev/): -``` +```bash npx sv create myapp cd myapp npm run dev From 774aa314247b74145474b409632b8bbcea2feeaf Mon Sep 17 00:00:00 2001 From: Emanuele Picchirallo Date: Wed, 23 Oct 2024 08:38:49 +0530 Subject: [PATCH 2/2] docs: add `npm install` command `npm run dev` will give an error if you don't first run `npm install` --- documentation/docs/01-introduction/02-getting-started.md | 1 + 1 file changed, 1 insertion(+) diff --git a/documentation/docs/01-introduction/02-getting-started.md b/documentation/docs/01-introduction/02-getting-started.md index 57e1d34d60d5..1abc05fc5ec9 100644 --- a/documentation/docs/01-introduction/02-getting-started.md +++ b/documentation/docs/01-introduction/02-getting-started.md @@ -7,6 +7,7 @@ We recommend using [SvelteKit](../kit), the official application framework from ```bash npx sv create myapp cd myapp +npm install npm run dev ```