components_use.js 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. /* eslint-disable */
  2. /**
  3. * 该文件是为了按需加载,剔除掉了一些不需要的框架组件。
  4. * 减少了编译支持库包大小
  5. *
  6. * 当需要更多组件依赖时,在该文件加入即可
  7. */
  8. import Vue from 'vue'
  9. import {
  10. LocaleProvider,
  11. Layout,
  12. Input,
  13. InputNumber,
  14. Button,
  15. Switch,
  16. Radio,
  17. Checkbox,
  18. Select,
  19. Card,
  20. Form,
  21. Row,
  22. Col,
  23. Modal,
  24. Table,
  25. Tabs,
  26. Icon,
  27. Badge,
  28. Popover,
  29. Dropdown,
  30. List,
  31. Avatar,
  32. Breadcrumb,
  33. Steps,
  34. Spin,
  35. Menu,
  36. Drawer,
  37. Tooltip,
  38. Alert,
  39. Tag,
  40. Divider,
  41. DatePicker,
  42. TimePicker,
  43. Upload,
  44. Progress,
  45. Skeleton,
  46. Popconfirm,
  47. message,
  48. notification
  49. } from 'ant-design-vue'
  50. // import VueCropper from 'vue-cropper'
  51. Vue.use(LocaleProvider)
  52. Vue.use(Layout)
  53. Vue.use(Input)
  54. Vue.use(InputNumber)
  55. Vue.use(Button)
  56. Vue.use(Switch)
  57. Vue.use(Radio)
  58. Vue.use(Checkbox)
  59. Vue.use(Select)
  60. Vue.use(Card)
  61. Vue.use(Form)
  62. Vue.use(Row)
  63. Vue.use(Col)
  64. Vue.use(Modal)
  65. Vue.use(Table)
  66. Vue.use(Tabs)
  67. Vue.use(Icon)
  68. Vue.use(Badge)
  69. Vue.use(Popover)
  70. Vue.use(Dropdown)
  71. Vue.use(List)
  72. Vue.use(Avatar)
  73. Vue.use(Breadcrumb)
  74. Vue.use(Steps)
  75. Vue.use(Spin)
  76. Vue.use(Menu)
  77. Vue.use(Drawer)
  78. Vue.use(Tooltip)
  79. Vue.use(Alert)
  80. Vue.use(Tag)
  81. Vue.use(Divider)
  82. Vue.use(DatePicker)
  83. Vue.use(TimePicker)
  84. Vue.use(Upload)
  85. Vue.use(Progress)
  86. Vue.use(Skeleton)
  87. Vue.use(Popconfirm)
  88. // Vue.use(VueCropper)
  89. Vue.use(notification)
  90. Vue.prototype.$confirm = Modal.confirm
  91. Vue.prototype.$message = message
  92. Vue.prototype.$notification = notification
  93. Vue.prototype.$info = Modal.info
  94. Vue.prototype.$success = Modal.success
  95. Vue.prototype.$error = Modal.error
  96. Vue.prototype.$warning = Modal.warning