vant.js 508 B

1234567891011121314151617181920
  1. // 按需全局引入 vant组件
  2. import Vue from 'vue'
  3. import { Button,Form,Field, List, Cell, Tabbar, TabbarItem ,Checkbox , CheckboxGroup , Radio, RadioGroup,Dialog, CellGroup,Card,Grid ,GridItem ,Sticky} from 'vant'
  4. Vue.use(Button)
  5. Vue.use(Form)
  6. Vue.use(Field)
  7. Vue.use(Cell)
  8. Vue.use(List)
  9. Vue.use(Tabbar).use(TabbarItem)
  10. Vue.use(Checkbox);
  11. Vue.use(CheckboxGroup);
  12. Vue.use(Radio);
  13. Vue.use(RadioGroup);
  14. Vue.use(Dialog);
  15. Vue.use(CellGroup);
  16. Vue.use(Card);
  17. Vue.use(Grid);
  18. Vue.use(GridItem);
  19. Vue.use(Sticky);