main.js 500 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,
  Tab,
  Tabs,
  Sticky
} from 'vant';

Vue.use(Swipe).use(SwipeItem);
Vue.use(Lazyload);
Vue.use(Tab).use(Tabs);
Vue.use(Sticky);


new Vue({
  router,
  store,
  data: {
    isInit: false,
  },
  render: h => h(App)
}).$mount('#app')