mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-13 17:05:47 +08:00
b19d2fc374
* fix: correct bundle export * chore: update * chore: update * chore: update * chore: update * chore: update * chore: update * chore: update
13 lines
279 B
TypeScript
13 lines
279 B
TypeScript
import { App } from 'vue'
|
|
import Loading from './src/index'
|
|
import vLoading from './src/directive'
|
|
|
|
export default {
|
|
install(app: App) {
|
|
app.directive('loading', vLoading)
|
|
app.config.globalProperties.$loading = Loading
|
|
},
|
|
directive: vLoading,
|
|
service: Loading,
|
|
}
|