chore(@vben/web-naive): Import on demand

This commit is contained in:
Li Kui
2024-07-31 21:48:37 +08:00
parent 082847c441
commit 1c9525a013
4 changed files with 10 additions and 6 deletions

View File

@@ -15,14 +15,13 @@ const routes: RouteRecordRaw[] = [
name: 'Demos',
path: '/demos',
children: [
// 权限控制
{
meta: {
icon: 'mdi:shield-key-outline',
title: $t('page.demos.naive'),
},
name: 'NaiveDemos',
path: '/demos/access',
path: '/demos/naive',
component: () => import('#/views/demos/naive/index.vue'),
},
],