-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmain.js
More file actions
37 lines (32 loc) · 854 Bytes
/
main.js
File metadata and controls
37 lines (32 loc) · 854 Bytes
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
import Vue from 'vue';
import pluralize from 'pluralize';
import VueTelInput from 'vue-tel-input';
import moment from 'vue-moment';
import VCurrencyField from 'v-currency-field';
import { VTextField } from 'vuetify/lib'; // Globally import VTextField
import App from './App.vue';
import router from './router';
import store from './store';
import vuetify from './plugins/vuetify';
Vue.use(VueTelInput);
Vue.use(moment);
Vue.config.productionTip = false;
Vue.filter('pluralize', (value, number) => pluralize(value, number));
Vue.component('v-text-field', VTextField);
Vue.use(VCurrencyField, {
locale: 'en-US',
decimalLength: 2,
autoDecimalMode: true,
min: null,
max: null,
defaultValue: 0,
});
new Vue({
router,
store,
vuetify,
render: h => h(App),
beforeCreate() {
this.$store.commit('initializeStore');
},
}).$mount('#app');