refactor(tree): 移注第一版tree的实现
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
import type { App } from 'vue'
|
||||
import Component from './index.vue'
|
||||
import { DefineComponent } from 'vue'
|
||||
|
||||
Component.install = (app: App) => {
|
||||
app.component(Component.name || 'LayColorPicker', Component)
|
||||
}
|
||||
|
||||
export default Component as DefineComponent
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
<script lang="ts">
|
||||
export default {
|
||||
name: 'LayColorPicker'
|
||||
}
|
||||
</script>
|
||||
|
||||
<script lang="ts" setup>
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<pre>
|
||||
// todo =_=
|
||||
</pre>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user