From 2afa8ad9ebe7731b68316178f866f342777d40f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ta=C3=ADs=20Massaro?= Date: Fri, 11 Nov 2022 16:36:16 +0100 Subject: [PATCH] docs(svelte): fix link to get started with svelte (#3396) * docs(svelte): fix link to get started with svelte While going through the docs, I noticed the Svelte docs linked to the Vue docs on how to get started. * docs(svelte): update sveltekit create command --- docs/installation/svelte.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/docs/installation/svelte.md b/docs/installation/svelte.md index 13be7c5cc..b0ef5da94 100644 --- a/docs/installation/svelte.md +++ b/docs/installation/svelte.md @@ -13,7 +13,7 @@ If you just want to jump into it right-away, here is a [Svelte REPL with Tiptap] ## Requirements * [Node](https://nodejs.org/en/download/) installed on your machine -* Experience with [Svelte](https://vuejs.org/v2/guide/#Getting-Started) +* Experience with [Svelte](https://svelte.dev/docs#getting-started) ## 1. Create a project (optional) If you already have an existing SvelteKit project, that’s fine too. Just skip this step and proceed with the next step. @@ -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