refactor: custom icon

This commit is contained in:
张传龙
2022-08-27 11:46:34 +08:00
parent 2f1b747243
commit 0cefadc2a5
15 changed files with 1024 additions and 12 deletions

View File

@@ -17,7 +17,7 @@ export default {
component: () => import('./404.vue'),
meta: {
title: '404',
icon: 'mdi:alert-circle-outline',
icon: 'tabler:error-404',
},
},
],

View File

@@ -31,6 +31,7 @@ export default {
component: () => import('./post/index.vue'),
meta: {
title: '文章列表',
icon: 'material-symbols:auto-awesome-outline-rounded',
role: ['admin'],
requireAuth: true,
},
@@ -41,6 +42,7 @@ export default {
component: () => import('./post/PostCreate.vue'),
meta: {
title: '创建文章',
icon: 'material-symbols:auto-awesome-outline-rounded',
role: ['admin'],
requireAuth: true,
},

View File

@@ -7,7 +7,7 @@ export default {
redirect: '/test/unocss',
meta: {
title: '基础功能测试',
icon: 'mdi:menu',
customIcon: 'logo',
order: 1,
},
children: [
@@ -17,6 +17,7 @@ export default {
component: () => import('./unocss/index.vue'),
meta: {
title: '测试unocss',
icon: 'material-symbols:auto-awesome-outline-rounded',
},
},
{
@@ -25,6 +26,7 @@ export default {
component: () => import('./message/index.vue'),
meta: {
title: '测试Message',
icon: 'material-symbols:auto-awesome-outline-rounded',
},
},
{
@@ -33,6 +35,7 @@ export default {
component: () => import('./dialog/index.vue'),
meta: {
title: '测试Dialog',
icon: 'material-symbols:auto-awesome-outline-rounded',
},
},
{
@@ -42,6 +45,7 @@ export default {
meta: {
title: '测试Keep-Alive',
keepAlive: true,
icon: 'material-symbols:auto-awesome-outline-rounded',
},
},
],