随笔分类 - webpack5
摘要:- 例如项目中用到的promise async await这些es6语法,在现代浏览器是支持的,但是在一些老的浏览器就不支持,所以就需要用到babel-loader将es6语法转化为es5语法,使得更老的浏览器也支持我们的代码。 需要下载3个插件 npm install babel-loader @
阅读全文
摘要:- xml: <note> <to>Tove</to> <from> <title>Jani</title> <age>18</age> </from> <heading>Reminder</heading> <body>Don't forget me this weekend!</body> </
阅读全文