main-personal.js 503 B

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