24 lines
573 B
JavaScript
24 lines
573 B
JavaScript
import Vue from 'vue'
|
|
import App from './App.vue'
|
|
import router from './router'
|
|
import store from './store'
|
|
import Buefy, {Snackbar} from 'buefy'
|
|
import axios from 'axios'
|
|
import VueAxios from 'vue-axios'
|
|
import i18n from './i18n'
|
|
import moment from 'moment'
|
|
Vue.use(VueAxios, axios)
|
|
Vue.use(Buefy)
|
|
Vue.config.productionTip = false
|
|
Vue.prototype.$snackbar = Snackbar
|
|
Vue.filter('formatDate', function(value) {
|
|
if (value) {
|
|
return moment(String(value)).format('hh:mm A, DD/MM/YYYY')
|
|
}
|
|
})
|
|
new Vue({
|
|
router,
|
|
store,
|
|
i18n,
|
|
render: h => h(App)
|
|
}).$mount('#app')
|