summaryrefslogtreecommitdiffstats
path: root/src/main-admin.js
blob: 8df148f3c3cc24b972f8848566173d0e603950f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// SPDX-FileCopyrightText: 2022 Carl Schwan <carl@carlschwan.eu>
// SPDX-Licence-Identifier: AGPL-3.0-or-later

import Vue from 'vue'
// import { getRequestToken } from '@nextcloud/auth'
// import { translate as t } from '@nextcloud/l10n'

import AdminSettings from './components/AdminSettings.vue'

// eslint-disable-next-line
__webpack_nonce__ = btoa(getRequestToken());

Vue.mixin({
	methods: {
		t,
	},
})

const AdminSettingsView = Vue.extend(AdminSettings)
new AdminSettingsView().$mount('#vue-admin-news')