CroudTech / vue-quill

Quill component for vue
MIT License
121 stars 22 forks source link

Issues with imports #32

Closed detilium closed 4 years ago

detilium commented 5 years ago

Getting import error when importing Quill into my components

Uncaught SyntaxError: Unexpected token import at createScript (vm.js:80) at Object.runInThisContext (vm.js:139) at Module._compile (module.js:606) at Object.Module._extensions..js (module.js:653) at Module.load (module.js:561) at tryModuleLoad (module.js:504) at Function.Module._load (module.js:496) at Module.require (module.js:586) at require (internal/module.js:11) at eval (external "vue-quill"?f2f2:1)

Seems like it doesn't understand ES6 imports

BrockReece commented 5 years ago

Can you provide some code samples and which version of this package you are using so I can try to replicate?

Youhan commented 4 years ago

Are you using Nuxt SSR?

serkandemirel0420 commented 4 years ago

This also happens on my project too. Its vue-electron app.

detilium commented 4 years ago

I'm closing this issue at it's quite old, and I can't remember how I implemented it. I've been busy therefore not responding to this issue. I apologize.