19 lines
523 B
JavaScript
19 lines
523 B
JavaScript
/**
|
|
* SPDX-FileCopyrightText: 2016 Nextcloud GmbH and Nextcloud contributors
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
|
*/
|
|
import { getCSPNonce } from '@nextcloud/auth'
|
|
import Vue from 'vue'
|
|
import ArtificialIntelligence from './components/AdminAI.vue'
|
|
|
|
__webpack_nonce__ = getCSPNonce()
|
|
|
|
Vue.prototype.t = t
|
|
|
|
// Not used here but required for legacy templates
|
|
window.OC = window.OC || {}
|
|
window.OC.Settings = window.OC.Settings || {}
|
|
|
|
const View = Vue.extend(ArtificialIntelligence)
|
|
new View().$mount('#ai-settings')
|