mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-09-24 13:03:30 +08:00
路由配置
This commit is contained in:
@@ -1,11 +1,4 @@
|
||||
const routes = [
|
||||
{
|
||||
path: '/',
|
||||
component: () => import('layouts/MainLayout.vue'),
|
||||
children: [
|
||||
{ path: '', component: () => import('pages/IndexPage.vue') }
|
||||
]
|
||||
},
|
||||
{
|
||||
path: '/configuration',
|
||||
component: () => import('pages/ConfigurationPage.vue')
|
||||
@@ -13,7 +6,20 @@ const routes = [
|
||||
{
|
||||
path: '/code',
|
||||
component: () => import('pages/CodeRunner.vue')
|
||||
},
|
||||
{
|
||||
path: '/newcommand',
|
||||
component: () => import('pages/NewCommand.vue')
|
||||
},
|
||||
{
|
||||
path: '/:type(default|files|key|regex|window|professional)_:uid(\\w{11})',
|
||||
component: () => import('pages/CommandPage.vue')
|
||||
},
|
||||
{
|
||||
path: '/panel_:tags(\\w+)',
|
||||
component: () => import('pages/QuickPanel.vue')
|
||||
}
|
||||
|
||||
]
|
||||
|
||||
export default routes
|
||||
|
Reference in New Issue
Block a user