cnbmai-ui/index.js

26 rader
729 B
JavaScript
Permalänk Normal vy Historik

2022-12-16 10:05:19 +08:00
import SearchBar from './src/components/SearchBar/SearchBar.vue'
import BaseDialog from './src/components/BaseDialog/index.vue'
import Pagination from './src/components/Pagination/index.vue'
import BaseTable from './src/components/BaseTable/index.vue'
import InputArea from './src/components/BaseTable/subcomponents/InputArea.vue'
import MethodBtn from './src/components/BaseTable/subcomponents/MethodBtn.vue'
2023-02-20 15:37:40 +08:00
import SplitPane from './src/components/SplitPane/index.vue'
2022-12-16 10:05:19 +08:00
let ModuleObj = {
SearchBar,
BaseDialog,
Pagination,
BaseTable,
InputArea,
2023-02-20 15:37:40 +08:00
MethodBtn,
SplitPane
2022-12-16 10:05:19 +08:00
}
let MyModule = {}
MyModule.install = (Vue) => {
for (let i in ModuleObj) {
Vue.component(i, ModuleObj[i])
}
}
export default MyModule