摘要:
unplugin-auto-import/vite 配置完成之后使用ref reactive watch 等 无须import 导入 可以直接使用 install npm i -D unplugin-auto-import vite配置 // vite.config.tsimport { defin 阅读全文
摘要:
注册组件 全局组件 Global组件,这里用了TS和默认值 创建Global组件 // Global.vue <template> <h3>Global component</h3> <div>{{ msg }}</div> </template> <script setup lang="ts"> 阅读全文