nextcloud/apps/twofactor_backupcodes/src/settings.js

16 lines
387 B
JavaScript
Raw Normal View History

import { loadState } from '@nextcloud/initial-state'
import Vue from 'vue'
import PersonalSettings from './views/PersonalSettings'
import store from './store'
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')