Cannot assign to read only property 'exports' of object '#<Object>'

基本原因是import 和module.exports 是不能混用在.vue的文件里面的
webpack 2中不允许混用import和module.exports

module.exports={  改为 export default { 

  

posted @ 2018-03-06 17:37  AlanTao  阅读(1866)  评论(0编辑  收藏  举报