feat:添加插件vite-plugin-vue-setup-extend,支持直接在setup script标签定义name

This commit is contained in:
zhangchuanlong
2022-01-25 16:26:51 +08:00
parent f744043734
commit 5a05c6ee54
4 changed files with 16 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
<script setup>
<script setup name="TestDialog">
import { NButton } from 'naive-ui'
const handleDelete = function () {
$dialog.confirm({