frontend/src/main.js
Troplo 51ac44116a prerelease2
MarketplaceItem, Marketplace, Pagination, Update modal popup for new releases
2021-01-21 19:02:20 +11:00

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')