Blame view
src/main.js
1.38 KB
93a68cfa1
|
1 2 3 4 5 6 |
// 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 Vuetify from 'vuetify'; import router from './router'; |
8bb178441
|
7 |
import 'font-awesome/css/font-awesome.css'; |
8ab31dc8b
|
8 |
import './theme/default.styl'; |
93a68cfa1
|
9 10 11 |
import VeeValidate from 'vee-validate'; import colors from 'vuetify/es5/util/colors'; import Truncate from 'lodash.truncate'; |
a17c68a03
|
12 13 |
import store from '@/store/store' import FullCalendar from 'vue-full-calendar'; |
8bb178441
|
14 |
|
93a68cfa1
|
15 |
Vue.config.productionTip = false; |
a17c68a03
|
16 |
Vue.use(FullCalendar); |
03dcbf0c1
|
17 |
|
93a68cfa1
|
18 19 |
// Helpers // Global filters |
03dcbf0c1
|
20 |
// Vue.use(VueAxios, axios); |
93a68cfa1
|
21 22 23 |
Vue.filter('truncate', Truncate); Vue.use(VeeValidate, { fieldsBagName: 'formFields' }); Vue.use(Vuetify, { |
8bb178441
|
24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 |
// theme: { // primary: colors.indigo.base, // #E53935 // secondary: colors.indigo.lighten4, // #FFCDD2 // accent: colors.indigo.base // #3F51B5 // }, options: { themeVariations: ['primary', 'secondary', 'accent'], extra: { mainToolbar: { color: 'primary', }, sideToolbar: {}, sideNav: 'primary', mainNav: 'primary lighten-1', bodyBg: '', } |
93a68cfa1
|
40 |
} |
93a68cfa1
|
41 42 43 44 45 46 47 |
}); // Bootstrap application components /* eslint-disable no-new */ new Vue({ |
8bb178441
|
48 49 50 51 52 53 |
el: '#app', router, store, components: { App }, template: '<App/>' }); |