vue 项目按需加载配置

今天在沟通业务需求的时候,无意中发现了小伙伴的代码和平常写的有些区别,上代码 这里是他的代码, import Home from '@/pages/Home' const Error = () => import('@/pages/Error') const Lesson = () => import('@/pages/Lesson') const Preview = () => import(
相关文章
相关标签/搜索