main.js 779 字节
Newer Older
AresnLiang's avatar
AresnLiang 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
import Vue from 'vue'
import App from '@/App.vue'
import router from '@/router'
// 字体图标
import '@/assets/fonts/TsangerYuYangT_W01_W01.ttf'
//自适应
import '@/mobile/flexible'
//初始化样式
import '@/styles/reset.css'

//引入vant组件库
import { NavBar,Tabbar, TabbarItem, Image as VanImage ,Cell, CellGroup, Icon,Search,Grid, GridItem,PullRefresh,List , Swipe, SwipeItem, Lazyload} from 'vant';
Vue.use(NavBar);
Vue.use(Tabbar);
Vue.use(TabbarItem);
Vue.use(VanImage);
Vue.use(Cell);
Vue.use(CellGroup);
Vue.use(Icon);
Vue.use(Search);
Vue.use(Grid);
Vue.use(GridItem);
Vue.use(PullRefresh);
Vue.use(List);
Vue.use(Swipe);
Vue.use(SwipeItem);
Vue.use(Lazyload);


Vue.config.productionTip = false


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