PracowniaProgramowania/frontend/app/src/main.js

32 lines
966 B
JavaScript
Raw Normal View History

2018-11-07 02:03:15 +01:00
// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import { store } from './store/store' //importowanie central store;
import SidenavMenu from '@/components/SidenavMenu'
2018-11-09 23:30:49 +01:00
import TransitionElement from '@/components/TransitionElement'
2018-11-15 01:52:44 +01:00
import BootstrapVue from 'bootstrap-vue'
import BMenu from '@/components/BootstrapMenu'
2018-11-07 02:03:15 +01:00
Vue.component('sidenav-menu', SidenavMenu) // globalnby import menu
2018-11-09 23:30:49 +01:00
Vue.component('transition-element', TransitionElement) // globalnby import menu
2018-11-15 01:52:44 +01:00
Vue.component('b-menu', BMenu) // globalnby import menu
Vue.use(BootstrapVue);
import 'bootstrap/dist/css/bootstrap.css'
import 'bootstrap-vue/dist/bootstrap-vue.css'
2018-11-09 23:30:49 +01:00
2018-11-07 02:03:15 +01:00
Vue.config.productionTip = false
/* eslint-disable no-new */
new Vue({
store: store,
el: '#app',
router,
components: { App },
template: '<App/>'
})