Blame view

src/plugins/vant.js 193 Bytes
宋楠 committed
1 2
// 按需全局引入 vant组件
import Vue from 'vue'
sunnie committed
3
import { Button, List, Cell, Tabbar, TabbarItem } from 'vant'
宋楠 committed
4 5 6 7
Vue.use(Button)
Vue.use(Cell)
Vue.use(List)
Vue.use(Tabbar).use(TabbarItem)