feat: 集成unplugin-vue-components插件,NaiveUI组件无需再手动引入

This commit is contained in:
zhangchuanlong
2022-02-21 11:25:06 +08:00
parent 39da2634d5
commit d7a61db339
11 changed files with 81 additions and 13 deletions

View File

@@ -1,5 +1,4 @@
<script setup name="TestDialog">
import { NButton } from 'naive-ui'
const handleDelete = function () {
$dialog.confirm({
content: '确认删除?',

View File

@@ -1,6 +1,4 @@
<script setup>
import { NButton } from 'naive-ui'
function handleLogin() {
$message.loading('登陆中...')
setTimeout(() => {