Blame view

src/main.js 1.17 KB
93a68cfa1   Jatinder Singh   first commit
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
  // 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';  
  import './theme/default.styl';
  import VeeValidate from 'vee-validate';
  import colors from 'vuetify/es5/util/colors';
  import Truncate from 'lodash.truncate';
  Vue.config.productionTip = false;
  // Helpers
  // Global filters
  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,
    components: { App },
    template: '<App/>'
  });