index.js 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. import HcSys from './hc-sys/index.vue'
  2. import HcImg from './hc-img/index.vue'
  3. import HcImage from './hc-image/index.vue'
  4. import HcPdf from './hc-pdf/index.vue'
  5. import HcTabbar from './tabbar/index.vue'
  6. import HcTabbars from './hc-tabbar/index.vue'
  7. import HcTabbarBlock from './hc-tabbar/block.vue'
  8. import HcNavBar from './navbar/index.vue'
  9. import HcNavBackBar from './nav-back-bar/index.vue'
  10. import HcSelectFile from './select-file/index.vue'
  11. import HcTree from './hc-tree/hc-tree.vue'
  12. import HcTreeNode from './hc-tree/tree-node.vue'
  13. import HcPopup from './hc-popup/index.vue'
  14. import HcBreadcrumb from './hc-breadcrumb/index.vue'
  15. import HcUpdate from './hc-update/index.vue'
  16. import HcRow from './hc-row-col/row.vue'
  17. import HcCol from './hc-row-col/col.vue'
  18. //注册全局组件
  19. export const setupComponents = (App) => {
  20. App.component('HcSys', HcSys)
  21. App.component('HcImg', HcImg)
  22. App.component('HcImage', HcImage)
  23. App.component('HcPdf', HcPdf)
  24. App.component('HcTabbar', HcTabbar)
  25. App.component('HcTabbars', HcTabbars)
  26. App.component('HcNavBar', HcNavBar)
  27. App.component('HcNavBackBar', HcNavBackBar)
  28. App.component('HcTabbarBlock', HcTabbarBlock)
  29. App.component('HcSelectFile', HcSelectFile)
  30. App.component('HcTree', HcTree)
  31. App.component('HcTreeNode', HcTreeNode)
  32. App.component('HcPopup', HcPopup)
  33. App.component('HcBreadcrumb', HcBreadcrumb)
  34. App.component('HcUpdate', HcUpdate)
  35. App.component('HcRow', HcRow)
  36. App.component('HcCol', HcCol)
  37. }