10 changed files with 1703 additions and 448 deletions
@ -0,0 +1,17 @@ |
|||||
|
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, |
||||
|
} |
@ -1,15 +1 @@ |
|||||
import * as componets from "./components" |
|
||||
|
|
||||
export * from "./components" |
export * from "./components" |
||||
|
|
||||
function install(app) { |
|
||||
for (const key in componets) { |
|
||||
const component = componets[key] |
|
||||
app.component(component.name || "ps-" + key, component) |
|
||||
} |
|
||||
} |
|
||||
|
|
||||
export { install } |
|
||||
export default { |
|
||||
install |
|
||||
} |
|
@ -0,0 +1 @@ |
|||||
|
export * from './useNamespace' |
File diff suppressed because it is too large
Loading…
Reference in new issue