WebPack之懒加载原理
摘要:
代码结构 main.js console.log("这是main页面"); import(/* webpackChunkName: "foo" */"./foo").then(res => { console.log("动态导入foo") console.log(res); console.log( 阅读全文
posted @ 2021-05-13 09:19 孤海傲月 阅读(633) 评论(0) 推荐(0) 编辑