-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.js
54 lines (43 loc) · 1.32 KB
/
main.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
// 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 VueRouter from "vue-router";
import App from "./App";
// router setup
import routes from "./routes/routes";
// Plugins
// import GlobalComponents from "./globalComponents";
// import GlobalDirectives from "./globalDirectives";
// import Notifications from "./components/NotificationPlugin";
// MaterialDashboard plugin
import MaterialDashboard from "./material-dashboard";
// import Chartist from "chartist";
//cookie extension
import VueCookies from 'vue-cookies'
// configure router
const router = new VueRouter({
routes, // short for routes: routes
mode: 'history', //removes # form url
linkExactActiveClass: "nav-item active"
});
// Vue.prototype.$Chartist = Chartist;
Vue.use(VueCookies);
Vue.use(VueRouter);
Vue.use(MaterialDashboard);
// Vue.use(GlobalComponents);
// Vue.use(GlobalDirectives);
// Vue.use(Notifications);
import { BootstrapVue, BootstrapVueIcons } from 'bootstrap-vue'
import 'bootstrap/dist/css/bootstrap.css'
import 'bootstrap-vue/dist/bootstrap-vue.css'
Vue.use(BootstrapVue)
Vue.use(BootstrapVueIcons)
/* eslint-disable no-new */
new Vue({
el: "#app",
render: h => h(App),
router,
// data: {
// Chartist: Chartist
// }
});