当前位置:网站首页>Error in created hook: "referenceerror:" promise "undefined“
Error in created hook: "referenceerror:" promise "undefined“
2022-04-23 17:43:00 【Front Thoughts】
In the beginning, I used VUE3、 After all, I haven't learned VUE3, Then get the project and start directly , It's done !!! So here comes the question ,IE The browser has nothing ! Later I checked , original VUE3 Give up directly IE 了 , Split !!! Decisively turn to VUE2! It hurts after moving ! Report this error again ! also IE8 Following VUE2 It won't come out of the page !

Solution :
install web-pack-server :npm install --save-dev webpack-server
install babel-polyfill rely on : npm install --save babel-polyfill
main.js introduce : import ‘babel-polyfill’

stay webpack.base.conf.js Join in require(“babel-polyfill”)

analysis : In fact, it is an error reported by the kernel , First, locate the browser compatibility problem ,promise Callback not supported ,promise yes ES6 New features , in other words IE The kernel version is right es6 Compatibility is not friendly , Demotion is required to resolve !
版权声明
本文为[Front Thoughts]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204230551156807.html
边栏推荐
- Sword finger offer 03 Duplicate number in array
- Compilation principle first set follow set select set prediction analysis table to judge whether the symbol string conforms to the grammar definition (with source code!!!)
- Element calculation distance and event object
- SiteServer CMS5. 0 Usage Summary
- QT modification UI does not take effect
- 48. Rotate image
- Learning record of uni app dark horse yougou project (Part 2)
- 41. The first missing positive number
- Use of five routing guards
- JVM类加载机制
猜你喜欢
随机推荐
If you start from zero according to the frame
41. 缺失的第一个正数
Metaprogramming, proxy and reflection
开期货,开户云安全还是相信期货公司的软件?
Matlab / Simulink simulation of double closed loop DC speed regulation system
Abnormal resolution of Xiaomi camera
关于gcc输出typeid完整名的方法
31. Next arrangement
Future usage details
122. 买卖股票的最佳时机 II-一次遍历
Node template engine (EJS, art template)
Ouvrir des contrats à terme, ouvrir des comptes en nuage ou faire confiance aux logiciels des sociétés à terme?
Compilation principle first set follow set select set prediction analysis table to judge whether the symbol string conforms to the grammar definition (with source code!!!)
01 - get to know the advantages of sketch sketch
Qt error: /usr/bin/ld: cannot find -lGL: No such file or directory
958. Complete binary tree test
Using quartz under. Net core -- a simple trigger of [7] operation and trigger
2022年上海市安全员C证操作证考试题库及模拟考试
stm32入门开发板选野火还是正点原子呢?
122. The best time to buy and sell stocks II - one-time traversal









