当前位置:网站首页>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
边栏推荐
- [binary number] maximum depth of binary tree + maximum depth of n-ary tree
- Halo open source project learning (II): entity classes and data tables
- 41. 缺失的第一个正数
- tidb-server 的配置文件在哪里?
- 一些问题一些问题一些问题一些问题
- This point in JS
- 386. Dictionary order (medium) - iteration - full arrangement
- ros常用的函数——ros::ok(),ros::Rate,ros::spin()和ros::spinOnce()
- Webapi + form form upload file
- 102. 二叉树的层序遍历
猜你喜欢
440. The k-th small number of dictionary order (difficult) - dictionary tree - number node - byte skipping high-frequency question
SQL optimization for advanced learning of MySQL [insert, primary key, sort, group, page, count]
Leak detection and vacancy filling (6)
SystemVerilog(六)-变量
Flash project cross domain interception and DBM database learning [Baotou cultural and creative website development]
Using quartz under. Net core -- general properties and priority of triggers for [5] jobs and triggers
Webapi + form form upload file
On the method of outputting the complete name of typeID from GCC
MySQL进阶学习之SQL优化【插入,主键,排序,分组,分页,计数】
Use of five routing guards
随机推荐
SQL optimization for advanced learning of MySQL [insert, primary key, sort, group, page, count]
【Appium】通过设计关键字驱动文件来编写脚本
node中,如何手动实现触发垃圾回收机制
102. 二叉树的层序遍历
[related to zhengheyuan cutting tools]
958. Complete binary tree test
Tdan over half
索引:手把手教你索引从零基础到精通使用
Using quartz under. Net core - [1] quick start
開期貨,開戶雲安全還是相信期貨公司的軟件?
双指针进阶--leetcode题目--盛最多水的容器
386. Dictionary order (medium) - iteration - full arrangement
How to sort the numbers with text in Excel from small to large instead of the first number
239. Maximum value of sliding window (difficult) - one-way queue, large top heap - byte skipping high frequency problem
Future usage details
Write a regular
油猴网站地址
Node template engine (EJS, art template)
读《Software Engineering at Google》(15)
209. 长度最小的子数组-滑动窗口