src/main.js
@@ -12,6 +12,7 @@ import Vant from 'vant'; import 'vant/lib/index.css'; import { Swipe, SwipeItem, Skeleton, Switch, Notify } from 'vant'; import i18n from '@/locales'; import './assets/css/style.css'; @@ -47,6 +48,7 @@ Vue.use(Vant); Vue.use(Mint) Vue.use(Tab); Vue.prototype._i18n = i18n; Vue.use(Tabs, Popup, DatetimePicker, Switch, Notify); Vue.component('icon', Icon) Vue.config.productionTip = false @@ -153,6 +155,7 @@ new Vue({ el: '#app', i18n, store, router, axios,