How to resolve it?
@Hxmic I just don't know what's wrong with this.. Could you explain it in more detail?
In vue page, import it, "window is not defined".
I resolved it, in nuxt.
NUXT
first mkdir tui-editor.js , import vue-editor and vue , then vue use it.
seond import tui-editor.js , in config.index.js
In vue page, import it, "window is not defined".
I resolved it, in nuxt.
NUXT
first mkdir tui-editor.js , import vue-editor and vue , then vue use it.
seond import tui-editor.js , in config.index.js
@ChangJoo-Park
i do like you , but i get this error:
Uncaught TypeError: Cannot read property 'install' of undefined
@farshidrezaei, are you using Nuxt too?
@ChangJoo-Park
yes. i use nuxt.
@farshidrezaei
Can you check this repo?
// ...
plugins: [
'~/plugins/tui_editor.client.js'
],
// ...
<!-- in template -->
<client-only>
<editor />
</client-only>

I usually use tui.editor this way. I think you will get better answer from authors. good luck 馃槃
@ChangJoo-Park it's worked. thank you.
@ChangJoo-Park I also tried your way in nuxt, but it only works in 'spa' mode, not in 'universal', although add the 'client-only'. this is very strange.
@HarrisonLee1998 Please check my repo here
It is universal nuxt application using npx create-nuxt-app
In nuxt
first: 
second:

@HarrisonLee1998
Most helpful comment
@farshidrezaei
Can you check this repo?
plugins\tui_editor.client.jscodenuxt.config.jscodeI usually use tui.editor this way. I think you will get better answer from authors. good luck 馃槃