routes.js
根
/
temp /
module-w /
routes.js
const routes = [
{
path: '/module__name_test',
component: { template: '<router-view class="module__module_test"></router-view>' },
children: [
{ path: 'index', component: () => import('./page/index.vue'), meta: { pageName: '模块模板' } }
]
}
];
export default routes;