Update vue3.md (#2350)

npm run dev --> npm run serve
This commit is contained in:
Aiyush-G
2022-01-04 22:34:27 +00:00
committed by GitHub
parent 338d4b1589
commit 1c601f62cd

View File

@@ -33,7 +33,7 @@ Okay, enough of the boring boilerplate work. Lets finally install Tiptap! For
npm install @tiptap/vue-3 @tiptap/starter-kit npm install @tiptap/vue-3 @tiptap/starter-kit
``` ```
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. 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.
## 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 `Tiptap` and put the following example code in `components/Tiptap.vue`. To actually start using Tiptap, youll need to add a new component to your app. Lets call it `Tiptap` and put the following example code in `components/Tiptap.vue`.