diff options
Diffstat (limited to 'apps/theming/src/admin-settings.js')
-rw-r--r-- | apps/theming/src/admin-settings.js | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/apps/theming/src/admin-settings.js b/apps/theming/src/admin-settings.js new file mode 100644 index 00000000000..622837658f9 --- /dev/null +++ b/apps/theming/src/admin-settings.js @@ -0,0 +1,18 @@ +/** + * SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later + */ +import { getCSPNonce } from '@nextcloud/auth' +import Vue from 'vue' + +import App from './AdminTheming.vue' + +// eslint-disable-next-line camelcase +__webpack_nonce__ = getCSPNonce() + +Vue.prototype.OC = OC +Vue.prototype.t = t + +const View = Vue.extend(App) +const theming = new View() +theming.$mount('#admin-theming') |