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.
17 lines
390 B
17 lines
390 B
import * as componets from '@princess-ui/components'
|
|
import type { App } from 'vue'
|
|
|
|
export * from '@princess-ui/components'
|
|
export * from '@princess-ui/hooks'
|
|
|
|
function install(app: App) {
|
|
for (const key in componets) {
|
|
const component = componets[key]
|
|
app.component(component.name || 'ps-' + key, component)
|
|
}
|
|
}
|
|
|
|
export { install }
|
|
export default {
|
|
install,
|
|
}
|
|
|