mirror of
https://github.com/paricafe/misskey.git
synced 2025-01-18 12:38:41 -06:00
add pari settings router
This commit is contained in:
parent
7b1b5aeafb
commit
443bfb50ce
3 changed files with 6 additions and 2 deletions
|
@ -131,7 +131,7 @@ const menuDef = computed(() => [{
|
||||||
to: '/settings/plugin',
|
to: '/settings/plugin',
|
||||||
active: currentPage.value?.route.name === 'plugin',
|
active: currentPage.value?.route.name === 'plugin',
|
||||||
}, {
|
}, {
|
||||||
icon: 'ti ti-light-bulb',
|
icon: 'ti ti-plus',
|
||||||
text: 'Pari Cafe',
|
text: 'Pari Cafe',
|
||||||
to: '/settings/pari',
|
to: '/settings/pari',
|
||||||
active: currentPage.value?.route.name === 'pari',
|
active: currentPage.value?.route.name === 'pari',
|
||||||
|
|
|
@ -23,6 +23,6 @@ const autoTranslateButton = computed(defaultStore.makeGetterSetter('autoTranslat
|
||||||
|
|
||||||
definePageMetadata(() => ({
|
definePageMetadata(() => ({
|
||||||
title: 'Pari Cafe',
|
title: 'Pari Cafe',
|
||||||
icon: 'ti ti-light-bulb',
|
icon: 'ti ti-plus',
|
||||||
}));
|
}));
|
||||||
</script>
|
</script>
|
||||||
|
|
|
@ -127,6 +127,10 @@ const routes: RouteDef[] = [{
|
||||||
path: '/plugin',
|
path: '/plugin',
|
||||||
name: 'plugin',
|
name: 'plugin',
|
||||||
component: page(() => import('@/pages/settings/plugin.vue')),
|
component: page(() => import('@/pages/settings/plugin.vue')),
|
||||||
|
}, {
|
||||||
|
path: '/pari',
|
||||||
|
name: 'pari',
|
||||||
|
component: page(() => import('@/pages/settings/pari.vue')),
|
||||||
},{
|
},{
|
||||||
path: '/import-export',
|
path: '/import-export',
|
||||||
name: 'import-export',
|
name: 'import-export',
|
||||||
|
|
Loading…
Reference in a new issue