nextcloud/apps/oauth2/src/settings-admin.ts
Ferdinand Thiessen 6a570c0133
refactor(oauth2): migrate to Typescript and Vue 3
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-12-12 00:42:15 +01:00

17 lines
440 B
TypeScript

/**
* SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
import { loadState } from '@nextcloud/initial-state'
import { createApp } from 'vue'
import AdminSettings from './views/AdminSettings.vue'
import 'vite/modulepreload-polyfill'
const clients = loadState('oauth2', 'clients')
const app = createApp(AdminSettings, {
modelValue: clients,
})
app.mount('#oauth2')