nextcloud/apps/twofactor_backupcodes/src/settings.js
dependabot-preview[bot] ec01e0a790
Bump eslint-config-nextcloud from 0.0.6 to 0.1.0
Bumps [eslint-config-nextcloud](https://github.com/nextcloud/eslint-config-nextcloud) from 0.0.6 to 0.1.0.
- [Release notes](https://github.com/nextcloud/eslint-config-nextcloud/releases)
- [Commits](https://github.com/nextcloud/eslint-config-nextcloud/compare/v0.0.6...v0.1.0)

Co-authored-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-12-19 11:55:33 +01:00

15 lines
387 B
JavaScript

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')