PracowniaProgramowania/frontend/app/src/main.js

31 lines
829 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'
2018-12-12 22:03:48 +01:00
import VueSidebarMenu from 'vue-sidebar-menu'
2018-11-07 02:03:15 +01:00
import router from './router'
2018-12-12 22:03:48 +01:00
import { store } from './store/store' //importowanie central store;
2018-11-15 01:52:44 +01:00
import BootstrapVue from 'bootstrap-vue'
import 'bootstrap/dist/css/bootstrap.css'
import 'bootstrap-vue/dist/bootstrap-vue.css'
2018-12-12 22:03:48 +01:00
import MyMenu from '@/components/MyMenu'
import jQuery from 'jquery'
global.jQuery = jQuery
let Bootstrap = require('bootstrap')
Vue.component('my-menu', MyMenu)
Vue.use(VueSidebarMenu)
Vue.use(BootstrapVue)
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/>'
})