-1๐
export default new VueRouter({
routes : [
{
path : '/client-1',
name : "Client Feature 1"
// component : ClientFeature1, //asis
component: () => import(/* webpackChunkName: 'ClientFeature1' */'./components/ClientFeature1')
},
// ...
],
mode: 'hash'
});
- [Vuejs]-Mount component into DOM with JS in Vue.js
- [Vuejs]-Do I need to use a vuex for recording markup data?
Source:stackexchange.com