docs: add content

This commit is contained in:
Hans Pagel
2020-12-03 16:52:54 +01:00
parent f19a303908
commit e09273a056
10 changed files with 105 additions and 47 deletions

View File

@@ -79,11 +79,17 @@ Now, lets replace the content of `pages/index.vue` with the following example
```html
<template>
<div id="app">
<tiptap />
<client-only>
<tiptap />
</client-only>
</div>
</template>
```
Note that tiptap needs to run in the client, not on the server. Its required to wrap the editor in a `<client-only>` tag.
[Read more](https://nuxtjs.org/api/components-client-only)
You should now see tiptap in your browser. Youve successfully set up tiptap! Time to give yourself a pat on the back. Lets start to configure your editor in the next step.
## 5. Use v-model (optional)