vant.js 900 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. import Vue from 'vue'
  2. import {
  3. Col,
  4. Row,
  5. Button,
  6. Image as VanImage,
  7. Lazyload,
  8. Field,
  9. CellGroup,
  10. Cell,
  11. Checkbox
  12. } from 'vant'
  13. Vue.use(Col)
  14. Vue.use(Row)
  15. Vue.use(Button)
  16. Vue.use(VanImage)
  17. Vue.use(Lazyload)
  18. Vue.use(Field)
  19. Vue.use(CellGroup)
  20. Vue.use(Cell)
  21. Vue.use(Checkbox)
  22. import { Swipe, SwipeItem } from 'vant'
  23. Vue.use(Swipe)
  24. Vue.use(SwipeItem)
  25. import { NavBar } from 'vant'
  26. Vue.use(NavBar)
  27. import { Grid, GridItem, Picker, Popup, Search } from 'vant'
  28. Vue.use(Grid)
  29. Vue.use(GridItem)
  30. Vue.use(Picker)
  31. Vue.use(Popup)
  32. Vue.use(Search)
  33. import { Tab, Tabs } from 'vant'
  34. Vue.use(Tab)
  35. Vue.use(Tabs)
  36. import { PullRefresh } from 'vant'
  37. Vue.use(PullRefresh)
  38. import { List } from 'vant'
  39. Vue.use(List)
  40. import { Tabbar, TabbarItem, Icon } from 'vant'
  41. Vue.use(Tabbar)
  42. Vue.use(TabbarItem)
  43. Vue.use(Icon)
  44. import { DatetimePicker } from 'vant'
  45. Vue.use(DatetimePicker)