mirror of
https://github.com/nextcloud/server.git
synced 2025-02-23 00:19:14 +00:00
21 lines
434 B
JavaScript
21 lines
434 B
JavaScript
/**
|
|
* SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
|
*/
|
|
|
|
import Vue from 'vue'
|
|
import App from './App.vue'
|
|
import { loadState } from '@nextcloud/initial-state'
|
|
|
|
Vue.prototype.t = t
|
|
Vue.prototype.OC = OC
|
|
|
|
const clients = loadState('oauth2', 'clients')
|
|
|
|
const View = Vue.extend(App)
|
|
const oauth = new View({
|
|
propsData: {
|
|
clients,
|
|
},
|
|
})
|
|
oauth.$mount('#oauth2')
|