How to implement ie9 support by introducing non-webpack directly through < script > in vue.js

problem description

vue.js is directly introduced through < script >, not webpack. How to implement ie9 support

the environmental background of the problems and what methods you have tried

the project does not use the npm method, but introduces the js file through direct use, because a lot of es6 syntax has been written, but ie browsers do not support it. Online methods use cli scaffolding and modify

in the compiled configuration file.

related codes

/ / Please paste the code text below (do not replace the code with pictures)

what result do you expect? What is the error message actually seen?


first of all, see the VUE official website for details

clipboard.png

VUE itself supports ie9.
your problem is not VUE compatibility, but that you use es6 syntax. Some low-level browsers do not support es6 features.
so your question should be how to be compatible with es6 syntax in ie9!
here you can make good use of search engines!
https://blog.csdn.net/qq_3120...


syntax is transferred with babel, and features are found in polyfill

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e81f27-45620.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e81f27-45620.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?