docs: 更新文档

This commit is contained in:
就眠仪式
2021-10-22 17:50:59 +08:00
parent a04dd07764
commit c9ac10b546
6 changed files with 47 additions and 18 deletions

View File

@@ -1,9 +1,9 @@
import type { App } from 'vue'
import Component from './index.vue'
import { DefineComponent } from 'vue'
import type { IDefineComponent } from '../type/index'
Component.install = (app: App) => {
app.component(Component.name || 'LayColorPicker', Component)
}
export default Component as DefineComponent
export default Component as IDefineComponent