04 2017 档案
摘要:ie 浏览器访问 vue 项目(使用的vuex 状态管理组件)报错:vuex requires a Promise polyfill in this browser 处理办法: 1.npm install --save-dev babel-polyfill 2. if you use webpack
阅读全文
摘要:export default 服从 ES6 的规范,补充:default 其实是别名 module.exports 服从CommonJS 规范 一般导出一个属性或者对象用 export default 一般导出模块或者说文件使用 module.exports 以上来自网络,不一定准确,有待进一步确认
阅读全文