mirror of
https://gitee.com/newgateway/vtj.git
synced 2026-05-11 07:27:36 +08:00
11 lines
269 B
Vue
11 lines
269 B
Vue
<template>
|
|
<button>button-text</button>
|
|
<Button>ButtonText</Button>
|
|
</template>
|
|
<script lang="ts" setup>
|
|
import { getCurrentInstance, onMounted } from 'vue';
|
|
const instance = getCurrentInstance();
|
|
|
|
console.log('instance', instance?.appContext.app);
|
|
</script>
|