就是在需要使用路由文件的時候齿兔,才會加載對應(yīng)的vue文件 // router.js { path:"/about", component:()=>import("../views/about.vue") }