blob: 53aa7e365af50158c6401f657948de84b0b76afc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
/**
* SPDX-FileCopyrightText: 2016 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
import { loadState } from '@nextcloud/initial-state'
import Vue from 'vue'
import PersonalSettings from './views/PersonalSettings.vue'
import store from './store.js'
Vue.prototype.t = t
const initialState = loadState('twofactor_backupcodes', 'state')
store.replaceState(initialState)
const View = Vue.extend(PersonalSettings)
new View({
store,
}).$mount('#twofactor-backupcodes-settings')
|