# LinwitDocEditor integrates with Vue3
In Vue, we use `div` a reference from a `ref` `$refs` property definition and then instantiate with `new LinwitDocEditor` , as shown in the sample code:
```html
LinwitDocEditor is an Open Source Rich Text Editor Designed for AI.
```
Or use `vue` the `setup` syntax:
```vue
LinwitDocEditor is an Open Source Rich Text Editor Designed for AI.
```
For more examples of Vue integration, please refer to:https://gitee.com/aieditor-team/aieditor/tree/main/demos/vue-ts
## SSR
Regarding SSR reference documents: https://vuejs.org/guide/scaling-up/ssr.html#server-side-rendering-ssr
```vue