You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
386 B
15 lines
386 B
import type { PluginObject } from "vue"
|
|
|
|
import * as components from "./components"
|
|
|
|
export default components
|
|
|
|
export const FakeComponents: PluginObject<object> = {
|
|
install(app) {
|
|
Object.entries(components).forEach(([key, value]: [string, any]) => {
|
|
app.component(key, value)
|
|
})
|
|
},
|
|
}
|
|
|
|
export { default as FakeButton } from "./components/FakeButton"
|
|
|