Vue报错:Uncaught TypeError: Cannot assign to read only property’exports‘ of object’#<Object>‘的解决方法

因为webpack 2中不允许混用import和module.exports ,
解决办法就是统一改成ES6的方式编写即可.
 
posted @ 2018-06-20 14:14  贾各布  阅读(209)  评论(0编辑  收藏  举报