diff options
author | Ferdinand Thiessen <opensource@fthiessen.de> | 2024-02-20 13:08:45 +0100 |
---|---|---|
committer | Ferdinand Thiessen <opensource@fthiessen.de> | 2024-03-11 16:02:33 +0100 |
commit | 14bdc11deeaee97cac24c8c80622bf81fc34c2db (patch) | |
tree | 6360e4a4af6918845fa17551ae5c5a79ff226ac6 /apps/settings/src/views | |
parent | f4beb95cdc3161a99e048e03ab486e5218d10e0a (diff) | |
download | nextcloud-server-14bdc11deeaee97cac24c8c80622bf81fc34c2db.tar.gz nextcloud-server-14bdc11deeaee97cac24c8c80622bf81fc34c2db.zip |
feat(settings): Refactor routing code to use named router views
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Diffstat (limited to 'apps/settings/src/views')
-rw-r--r-- | apps/settings/src/views/SettingsApp.vue | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/apps/settings/src/views/SettingsApp.vue b/apps/settings/src/views/SettingsApp.vue new file mode 100644 index 00000000000..4b36fcff7b1 --- /dev/null +++ b/apps/settings/src/views/SettingsApp.vue @@ -0,0 +1,34 @@ +<!-- + - @copyright Copyright (c) 2018 John Molakvoæ <skjnldsv@protonmail.com> + - + - @author John Molakvoæ <skjnldsv@protonmail.com> + - @author Ferdinand Thiessen <opensource@fthiessen.de> + - + - @license AGPL-3.0-or-later + - + - This program is free software: you can redistribute it and/or modify + - it under the terms of the GNU Affero General Public License as + - published by the Free Software Foundation, either version 3 of the + - License, or (at your option) any later version. + - + - This program is distributed in the hope that it will be useful, + - but WITHOUT ANY WARRANTY; without even the implied warranty of + - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + - GNU Affero General Public License for more details. + - + - You should have received a copy of the GNU Affero General Public License + - along with this program. If not, see <http://www.gnu.org/licenses/>. + - + --> + +<template> + <NcContent app-name="settings"> + <router-view name="navigation" /> + <router-view /> + <router-view name="sidebar" /> + </NcContent> +</template> + +<script setup lang="ts"> +import NcContent from '@nextcloud/vue/dist/Components/NcContent.js' +</script> |