-
-
Notifications
You must be signed in to change notification settings - Fork 76
Open
Description
How can I use the editor with nuxt if my project is with ssr?
nuxt.config.js
ssr: true
plugins: [
{
src: '~ / plugins / vue-editor.js',
ssr: false,
}
],
plugins
- vue-editor.js
import Vue from 'vue'
import Editor from 'vue-editor-js/src/index'
Vue.use(Editor)
components
- editor.vue
<client-only>
<editor ref = "editor": config = "config" />
</client-only>
An error is displayed 'window is not defined'
Metadata
Metadata
Assignees
Labels
No labels