-1👍
This is how you can use lazy routing in vuejs
path: "/",
name: "index",
component: () =>
import("../views/Index.vue")
- [Vuejs]-How to list all available slots in vue component
- [Vuejs]-JSON data returns empty string when authorizing my channel
-1👍
just as MaBbKhawaja said,
path: "/",
name: "index",
component: () =>
import("../views/Index.vue")
you can also assign chunkName like this
path: "/",
name: "index",
component: () =>
import(/* webpackChunkName: "Home" */ "../views/Index.vue")
- [Vuejs]-I have this error message "npm ERR! Linux 5.4.72-microsoft-standard-WSL2" on my terminal when I run "npm install"
- [Vuejs]-ASP.NET5 MVC 6 CORS vue.js request not allowed
Source:stackexchange.com