20 lines
315 B
20 lines
315 B
import { App } from "vue"
|
|
import PsTree from "./tree.vue"
|
|
|
|
export * from "./util"
|
|
export * from "./type"
|
|
|
|
function install(app: App) {
|
|
app.component(PsTree.name, PsTree)
|
|
}
|
|
|
|
PsTree.name = "ps-tree"
|
|
PsTree.install = function(app: App) {
|
|
install(app)
|
|
}
|
|
|
|
export {
|
|
PsTree,
|
|
install
|
|
}
|
|
export default PsTree
|