main.js 839 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'

import '@/styles/index.scss' // global css

import '@/styles/index.scss' // global css
import '@/styles/fonticon.scss' //  图标字体
import '@/assets/fonts/font.scss' //  字体引入

// import '@styles/utils.scss' /*引入公共样式*/

Vue.config.productionTip = false


import {
	Swipe,
	SwipeItem,
	Lazyload,
	Tab,
	Tabs,
	Sticky,
	Popup,
	Tabbar,
	TabbarItem,
	Icon,
	Toast
} from 'vant';

Vue.use(Swipe).use(SwipeItem)
	.use(Lazyload)
	.use(Tab).use(Tabs)
	.use(Sticky)
	.use(Popup)
	.use(Tabbar).use(TabbarItem)
	.use(Icon)
	.use(Toast);

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