Blame view

src/main.js 1.31 KB
93a68cfa1   Jatinder Singh   first commit
1
2
3
4
5
6
7
  // 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';
  import 'font-awesome/css/font-awesome.css';  
8ab31dc8b   Jatinder Singh   changes
8
  import './theme/default.styl';
93a68cfa1   Jatinder Singh   first commit
9
10
11
12
  import VeeValidate from 'vee-validate';
  import colors from 'vuetify/es5/util/colors';
  import Truncate from 'lodash.truncate';
  Vue.config.productionTip = false;
03dcbf0c1   Neeraj Sharma   fix all api and r...
13
14
15
  // import axios from 'axios';
  // import VueAxios from 'vue-axios';
  import store from '@/store/store'
93a68cfa1   Jatinder Singh   first commit
16
17
  // Helpers
  // Global filters
03dcbf0c1   Neeraj Sharma   fix all api and r...
18
  // Vue.use(VueAxios, axios);
93a68cfa1   Jatinder Singh   first commit
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
  Vue.filter('truncate', Truncate);
  Vue.use(VeeValidate, { fieldsBagName: 'formFields' });
  Vue.use(Vuetify, {
    // 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: '',
      }
    }
  });
  // Bootstrap application components
  
  
  
  /* eslint-disable no-new */
  new Vue({
    el: '#app',
    router,
03dcbf0c1   Neeraj Sharma   fix all api and r...
49
    store,
93a68cfa1   Jatinder Singh   first commit
50
51
52
    components: { App },
    template: '<App/>'
  });