matt-oconnell/vue-monaco-editor

vue-cli 3.0

zhouxianjun opened this issue · 1 comments

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

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