first
This commit is contained in:
Executable
+23
@@ -0,0 +1,23 @@
|
||||
import VabColorfulCard from './components/VabColorfulCard'
|
||||
import VabCard from './components/VabCard'
|
||||
import VabCount from './components/VabCount'
|
||||
|
||||
// 导入样式
|
||||
import './styles/vab.scss'
|
||||
|
||||
const components = [
|
||||
VabColorfulCard,
|
||||
VabCard,
|
||||
VabCount,
|
||||
// 其他组件...
|
||||
]
|
||||
|
||||
export default {
|
||||
install(app) {
|
||||
components.forEach(component => {
|
||||
app.component(component.name, component)
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
export { VabColorfulCard, VabCard, VabCount }
|
||||
Reference in New Issue
Block a user