mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-15 01:41:20 +08:00
97e8848617
- Add publish.sh for automated publishing
12 lines
280 B
TypeScript
12 lines
280 B
TypeScript
import { App } from 'vue'
|
|
import Space from './src/index'
|
|
import type { SFCWithInstall } from '@element-plus/utils/types'
|
|
|
|
Space.install = (app: App): void => {
|
|
app.component(Space.name, Space)
|
|
}
|
|
|
|
const _Space: SFCWithInstall<typeof Space> = Space as any
|
|
|
|
export default _Space
|