快捷命令服务改为内置 feature

This commit is contained in:
fofolee
2022-05-08 23:30:07 +08:00
parent 1e3042d7a0
commit 1b40855578
9 changed files with 105 additions and 56 deletions

View File

@@ -2,55 +2,62 @@ const routes = [{
path: '/configuration',
name: 'configuration',
component: () =>
import('pages/ConfigurationPage.vue')
import ('pages/ConfigurationPage.vue')
},
{
path: '/code',
name: 'code',
component: () =>
import('pages/RunCodePage.vue')
import ('pages/RunCodePage.vue')
},
{
path: '/newcommand',
name: 'newcommand',
component: () =>
import('pages/ConfigurationPage.vue')
import ('pages/ConfigurationPage.vue')
},
{
path: '/:type(default|files|img|key|regex|window|professional)_:uid(\\w+)',
name: 'command',
component: () =>
import('pages/CommandPage.vue')
import ('pages/CommandPage.vue')
},
{
path: '/panel_:tags(\\w+)',
name: 'panel',
component: () =>
import('pages/ConfigurationPage.vue')
import ('pages/ConfigurationPage.vue')
},
{
path: '/needupdate',
name: 'needupdate',
props: true,
component: () =>
import('pages/updateWarningPage.vue')
import ('pages/updateWarningPage.vue')
},
{
path: '/',
name: 'loading',
component: () =>
import('pages/LoadingPage.vue')
import ('pages/LoadingPage.vue')
}, {
path: '/share',
name: 'share',
component: () =>
import('pages/ShareCenterPage.vue')
import ('pages/ShareCenterPage.vue')
},
{
path: '/feature_:featuretype(\\w+)',
name: 'feature',
component: () => import('pages/quickFeaturesPage.vue')
component: () =>
import ('pages/FeaturesPage.vue')
},
{
path: '/server',
name: 'server',
component: () =>
import ('pages/ServerPage.vue')
}
]
export default routes
export default routes