1 1、使用cdn方式引入不常修改的第三方插件
2 2、使用路由懒加载,例如:
3 {
4   path: "*",
5   component: resolve => require(['../views/404.vue'],resolve)
6 },
// 第二种路由懒加载 
component: () => import('../views/404.vue')

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-12-13
  • 2021-08-19
猜你喜欢
  • 2021-08-29
  • 2022-01-08
  • 2021-08-08
  • 2021-08-12
  • 2018-01-16
  • 2021-11-13
相关资源
相似解决方案