Blame view
api/dashboard/src/main.js
777 Bytes
0d8c0f816 initial commit |
1 2 3 4 |
import 'core-js/stable' import Vue from 'vue' import { BootstrapVue, IconsPlugin } from 'bootstrap-vue' import Toasted from 'vue-toasted' |
c0c5f5114 Added keycloak fr... |
5 |
import VueKeyCloak from '@dsb-norge/vue-keycloak-js' |
0d8c0f816 initial commit |
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
import App from './App' import router from './router' import store from './store' import '~/plugins' import '~/assets/scss/custom.scss' // Install BootstrapVue Vue.use(BootstrapVue) // Optionally install the BootstrapVue icon components plugin Vue.use(IconsPlugin) Vue.use(Toasted, { position: 'bottom-center', duration: 5000 }) Vue.config.performance = true |
c0c5f5114 Added keycloak fr... |
23 24 25 26 27 28 29 30 31 32 33 |
Vue.use(VueKeyCloak, { config: process.env.VUE_APP_BASE_URL + '/keycloak', onReady: (keycloak) => { /* eslint-disable no-new */ new Vue({ router, store, ...App }).$mount('#app') } }) |