matt-oconnell / vue-monaco-editor

Monaco Editor Vue Component
MIT License
254 stars 59 forks source link

vue-cli 3.0 #18

Open zhouxianjun opened 6 years ago

zhouxianjun commented 6 years ago

RT: use vue-cli 3.0 Cannot assign to read only property 'exports' of object '#'

BenLocal commented 5 years ago

在webpack 2中不允许混用import和module.exports https://github.com/webpack/webpack/issues/4039 要把Monaco.vue中的module.exports= {}改成export default { }