UNPKG

@leisure01/view-ui-plus

Version:

A high quality UI components Library with Vue.js 3

13 lines (12 loc) 301 B
import { getCurrentInstance } from 'vue'; export default { data () { return { globalConfig: {} } }, created () { const instance = getCurrentInstance(); this.globalConfig = instance.appContext.config.globalProperties.$VIEWUI; } }