docs: update content

This commit is contained in:
Hans Pagel 2021-04-08 22:44:55 +02:00
parent 7e21bdd752
commit f3b91bc27b

View File

@ -39,7 +39,7 @@ yarn add alpinejs @tiptap/core @tiptap/starter-kit
If you followed step 1, you can now start your project with `npm run dev` or `yarn dev`, and open [http://localhost:3000](http://localhost:3000) in your favorite browser. This might be different, if youre working with an existing project.
## 3. Add a JavaScript file
## 3. Initialize the editor
To actually start using tiptap, youll need to write a little bit of JavaScript. Lets put the following example code in a file called `main.js`.
This is the fastest way to get tiptap up and running with Alpine.js. It will give you a very basic version of tiptap. No worries, you will be able to add more functionality soon.