main.js
433 Bytes
import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import Mock from './mock'
Mock.bootstrap();
import 'amfe-flexible/index.js'
Vue.config.productionTip = false
import {
Swipe,
SwipeItem,
Lazyload
} from 'vant';
Vue.use(Swipe).use(SwipeItem);
Vue.use(Lazyload);
new Vue({
router,
store,
data: {
isInit: false,
},
render: h => h(App)
}).$mount('#app')