main-admin.js 487 B

1234567891011121314151617181920
  1. /**
  2. * SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors
  3. * SPDX-License-Identifier: AGPL-3.0-or-later
  4. */
  5. import { getCSPNonce } from '@nextcloud/auth'
  6. import { translate as t } from '@nextcloud/l10n'
  7. import Vue from 'vue'
  8. import AdminSettings from './components/AdminSettings.vue'
  9. __webpack_nonce__ = getCSPNonce()
  10. Vue.mixin({
  11. methods: {
  12. t,
  13. },
  14. })
  15. const AdminSettingsView = Vue.extend(AdminSettings)
  16. new AdminSettingsView().$mount('#vue-admin-sharebymail')