From caf7781acb32b90814a3d940365a8a3ec13a6ff6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ta=C3=ADs=20Massaro?= Date: Wed, 9 Nov 2022 14:52:56 +0100 Subject: [PATCH] docs(svelte): update sveltekit create command --- docs/installation/svelte.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/installation/svelte.md b/docs/installation/svelte.md index aa785dbe959..b0ef5da9415 100644 --- a/docs/installation/svelte.md +++ b/docs/installation/svelte.md @@ -21,9 +21,8 @@ If you already have an existing SvelteKit project, that’s fine too. Just skip For the sake of this guide, let’s start with a fresh SvelteKit project called `my-tiptap-project`. The following commands set up everything we need. It asks a lot of questions, but just use what floats your boat or use the defaults. ```bash -mkdir my-tiptap-project +npm create svelte@latest my-tiptap-project cd my-tiptap-project -npm init svelte@next npm install npm run dev ``` @@ -101,7 +100,7 @@ This is the fastest way to get Tiptap up and running with SvelteKit. It will giv ``` ## 4. Add it to your app -Now, let’s replace the content of `src/routes/index.svelte` with the following example code to use our new `Tiptap` component in our app. +Now, let’s replace the content of `src/routes/+page.svelte` with the following example code to use our new `Tiptap` component in our app. ```html