Closed rachelfuller closed 4 years ago
Hi, thanks for the report. I just checked CKEditor Vue integration and building Inline editor from source works fine. So please double check, that you follow the documentation exactly and also make sure thet your vue.config.js
looks like the one in docs ( I see that you modified yours ).
Closing due to lack of feedback.
Hello!
I am building the inline editor from source and I have followed the documentation here https://ckeditor.com/docs/ckeditor5/latest/builds/guides/integration/frameworks/vuejs.html#using-the-editor-from-source .
The page is responding with 500 Syntax Error stating "Cannot use import statement outside a module".
Prior to building from source, the editor was working with the default inline build, however that also did not allow import statements such as the following:
so we decided to use the component locally and implement require('') as such:
Although this worked, we decided we wanted to customize the plugins so we turned to building from source. During this process, we realized we can't avoid the import statements and use the require work-around as we did before.
I've tried every configuration mentioned in the docs, all with the same result.. please help! The following files are what I tried for using the component locally while building from source.
ckeditor.vue file (classes in template for styling not included)
Custom Plugin insertimage.js file
vue.config.js file (do I also need a webpack.config.js?)
dependencies from package.json