JavaScript/vue.js/error

来自康健生活
Kangkk​(留言 | 贡献)2020年7月2日 (四) 04:40的版本 (创建页面,内容为“== 标题文字 == * Cannot assign to read only property 'exports' of object '#<Object>' *: js 可以混用 require、export。但是不能混用import、module.expo…”)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)

标题文字

  • Cannot assign to read only property 'exports' of object '#<Object>'
    js 可以混用 require、export。但是不能混用import、module.exports
  • Unknown custom element: <el-menu> - did you register the component correctly
    没有引用 element-ui
    import ElementUI from 'element-ui'; //element-ui的全部组件
    Vue.use(ElementUI); //使用elementUI