Vueμμ μΈλ €κ³ νλ Image μ½μ ν λ €κ³ λ²νΌλλ₯΄μλ§μ Errorκ° λ°μν©λλ€.
<template lang="html">
<textarea id="sample">Hi</textarea>
</template>
<script>
export default {
mounted() {
const suneditor = SUNEDITOR.create('sample',{
width: '80%',
height: '500px'
});
}
}
</script>
<style lang="css">
</style>
<template lang="html">
<div>
<p class="text-info">Hello.vue</p>
<SunEditor></SunEditor>
</div>
</template>
<script>
import SunEditor from './SunEditor.vue'
export default {
components : {
SunEditor
}
}
</script>
<style lang="css">
</style>

@lacuca I think the problem is because it doesn't find the file of each plugin. Right now when you click the button it tries to find the plugin's file path, append the script file, and then call it. When it calls the plugin it doesn't find the path on node_modules folder. That's why you have this error.
Right now the way is written does not play very well with the existing libraries and frameworks.
There is an second branch right now that will be more modular to be used by libraries, frameworks and bundlers.
It will be available soon.
Thanks
μλ νμΈμ~
κΈ°μ‘΄ λ²μ μ λ Έλ νκ²½μμ μ λλ‘ λμνμ§ μμ΅λλ€.
2.0.0 λ²μ λΆν° μ¬μ© κ°λ₯ν©λλ€.
λ²μ μ λ°μ΄νΈλ₯Ό νμΌλ λ€μ λ€μ΄λ‘λν΄μ μ¬μ©ν΄λ³΄μΈμ.^^
μμ νμΌλ κ°μ΄ μ λ°μ΄νΈ νμ΅λλ€.
Most helpful comment
μλ νμΈμ~
κΈ°μ‘΄ λ²μ μ λ Έλ νκ²½μμ μ λλ‘ λμνμ§ μμ΅λλ€.
2.0.0 λ²μ λΆν° μ¬μ© κ°λ₯ν©λλ€.
λ²μ μ λ°μ΄νΈλ₯Ό νμΌλ λ€μ λ€μ΄λ‘λν΄μ μ¬μ©ν΄λ³΄μΈμ.^^
μμ νμΌλ κ°μ΄ μ λ°μ΄νΈ νμ΅λλ€.