nextcloud/apps/twofactor_backupcodes/src/settings.js

16 lines
348 B
JavaScript
Raw Normal View History

import Vue from 'vue';
import PersonalSettings from './views/PersonalSettings';
import store from './store';
Vue.prototype.t = t;
const initialState = OCP.InitialState.loadState('twofactor_backupcodes');
store.replaceState(
initialState
)
const View = Vue.extend(PersonalSettings)
new View({
store
}).$mount('#twofactor-backupcodes-settings')