Skip to content

Commit

Permalink
docs(svelte): update sveltekit create command
Browse files Browse the repository at this point in the history
  • Loading branch information
taismassaro committed Nov 9, 2022
1 parent 4b2001d commit caf7781
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docs/installation/svelte.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
Expand Down Expand Up @@ -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
<script>
Expand Down

0 comments on commit caf7781

Please sign in to comment.