Merge pull request #4366 from y0ngdev/y0ngdev-patch-2

Update nuxt.md
This commit is contained in:
Jan Thurau 2023-11-17 09:38:11 +01:00 committed by GitHub
commit ad18fed196
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,7 +32,7 @@ Okay, enough of the boring boilerplate work. Lets finally install Tiptap! For
npm install @tiptap/vue-2 @tiptap/pm @tiptap/starter-kit npm install @tiptap/vue-2 @tiptap/pm @tiptap/starter-kit
``` ```
If you followed step 1 and 2, you can now start your project with `npm run serve`, and open [http://localhost:8080/](http://localhost:8080/) in your favorite browser. This might be different, if youre working with an existing project. If you followed step 1 and 2, you can now start your project with `npm run dev`, and open [http://localhost:8080/](http://localhost:8080/) in your favorite browser. This might be different, if youre working with an existing project.
## 3. Create a new component ## 3. Create a new component
To actually start using Tiptap, youll need to add a new component to your app. Lets call it `TiptapEditor` and put the following example code in `components/TiptapEditor.vue`. To actually start using Tiptap, youll need to add a new component to your app. Lets call it `TiptapEditor` and put the following example code in `components/TiptapEditor.vue`.