VUE 报 Error: [vuex] vuex requires a Promise polyfill in this browser.
2017-10-23 11:37
656 查看
SCRIPT5022: [vuex] vuex requires a Promise polyfill in this browser. 出现这样的报错
大概 就是这样的 有些浏览器不支持(我这边safari)就不支持,es6语法你需要加 babel-polyfill 让他支持
npm install --save-dev babel-polyfill
然后去到main.js引入
import 'babel-polyfill'
相关文章推荐
- Error: [vuex] vuex requires a Promise polyfill in this browser. 与 babel-polyfill 的问题
- 【vuex】【vue】【兼容】IE报vuex requires a Promise polyfill in this browser问题解决
- vue.js之路(5)——解决vuex requires a Promise polyfill in this browser问题
- IE报vuex requires a Promise polyfill in this browser问题解决
- Vuex requires a Promise polyfill in this browser
- IE报vuex requires a Promise polyfill in this browser问题解决
- Vue-cli 在IE下[vuex] vuex requires a Promise polyfill in this browser.问题
- vuex requires a Promise polyfill in this browser
- IE浏览器报Promise未定义的错误、解决vuex requires a Promise polyfill in this browser问题
- vuex requires a Promise polyfill in this browser
- 解决“requires a Promise polyfill in this browser”错误
- vue做的项目在ie11下一片空白:vue requires a Promise pllyfill in this browser
- [ERROR] The goal you specified requires a project to execute but there is no POM in this directory
- Angular build Error:In this configuration Angular requires Zone.js
- error: `cout' was not declared in this scope
- 【error: '_1' was not declared in this scope】
- 编译minicom出现问题:error: ‘BC’ undeclared (first use in this function)
- Error:This Gradle plugin requires Studio 3.0 minimum 问题 笔记
- mmseg 安装错误 error: ’strncmp’ was not declared in this scope
- [SharePoint 2010] 关于 "Error message when view or edit in browser for Word or PowerPoint Web Apps” 错误