-
Notifications
You must be signed in to change notification settings - Fork 351
/
Copy pathmain.js
51 lines (40 loc) · 1.44 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
/*
=========================================================
* Vue Black Dashboard - v1.1.0
=========================================================
* Product Page: https://www.creative-tim.com/product/black-dashboard
* Copyright 2018 Creative Tim (http://www.creative-tim.com)
=========================================================
* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
*/
import Vue from "vue";
import VueRouter from "vue-router";
import RouterPrefetch from 'vue-router-prefetch'
import App from "./App";
// TIP: change to import router from "./router/starterRouter"; to start with a clean layout
import router from "./router/index";
import BlackDashboard from "./plugins/blackDashboard";
import i18n from "./i18n"
//import './registerServiceWorker'
Vue.use(BlackDashboard);
Vue.use(VueRouter);
Vue.use(RouterPrefetch);
Vue.use(require('vue-moment'));
import VueClipboard from 'vue-clipboard2'
Vue.use(VueClipboard);
import VueCodemirror from 'vue-codemirror'
// import base style
import 'codemirror/lib/codemirror.css'
import 'codemirror/theme/monokai.css'
import 'codemirror/mode/yaml/yaml.js'
Vue.use(VueCodemirror);
import VueToastr2 from 'vue-toastr-2'
import 'vue-toastr-2/dist/vue-toastr-2.min.css'
window.toastr = require('toastr')
Vue.use(VueToastr2)
/* eslint-disable no-new */
new Vue({
router,
i18n,
render: h => h(App)
}).$mount("#app");