Blame view

src/main.js 1.55 KB
93a68cfa1   Jatinder Singh   first commit
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   Neeraj Sharma   implemnt api in s...
7
  import 'font-awesome/css/font-awesome.css';
8ab31dc8b   Jatinder Singh   changes
8
  import './theme/default.styl';
93a68cfa1   Jatinder Singh   first commit
9
10
11
  import VeeValidate from 'vee-validate';
  import colors from 'vuetify/es5/util/colors';
  import Truncate from 'lodash.truncate';
a17c68a03   Neeraj Sharma   implement two rou...
12
13
  import store from '@/store/store'
  import FullCalendar from 'vue-full-calendar';
6ae46ca27   Neeraj Sharma   implement upload ...
14
  import JsonCSV from 'vue-json-csv'
c8a795168   Neeraj Sharma   iplement pdf down...
15
16
17
18
  import VueHtml2Canvas from 'vue-html2canvas';
  import 'babel-polyfill';
  
  Vue.use(VueHtml2Canvas);
6ae46ca27   Neeraj Sharma   implement upload ...
19
20
  
  Vue.component('downloadCsv', JsonCSV)
8bb178441   Neeraj Sharma   implemnt api in s...
21

93a68cfa1   Jatinder Singh   first commit
22
  Vue.config.productionTip = false;
a17c68a03   Neeraj Sharma   implement two rou...
23
  Vue.use(FullCalendar);
03dcbf0c1   Neeraj Sharma   fix all api and r...
24

93a68cfa1   Jatinder Singh   first commit
25
26
  // Helpers
  // Global filters
03dcbf0c1   Neeraj Sharma   fix all api and r...
27
  // Vue.use(VueAxios, axios);
93a68cfa1   Jatinder Singh   first commit
28
29
30
  Vue.filter('truncate', Truncate);
  Vue.use(VeeValidate, { fieldsBagName: 'formFields' });
  Vue.use(Vuetify, {
8bb178441   Neeraj Sharma   implemnt api in s...
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
      // 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   Jatinder Singh   first commit
47
      }
93a68cfa1   Jatinder Singh   first commit
48
49
50
51
52
53
54
  });
  // Bootstrap application components
  
  
  
  /* eslint-disable no-new */
  new Vue({
8bb178441   Neeraj Sharma   implemnt api in s...
55
56
57
58
59
60
      el: '#app',
      router,
      store,
      components: { App },
      template: '<App/>'
  });