cnbmai-ui/index.js
2023-02-20 15:37:40 +08:00

26 linhas
729 B
JavaScript

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'
import SplitPane from './src/components/SplitPane/index.vue'
let ModuleObj = {
SearchBar,
BaseDialog,
Pagination,
BaseTable,
InputArea,
MethodBtn,
SplitPane
}
let MyModule = {}
MyModule.install = (Vue) => {
for (let i in ModuleObj) {
Vue.component(i, ModuleObj[i])
}
}
export default MyModule