From 39320b074515118f563f03bbec2148b156cf87ad Mon Sep 17 00:00:00 2001 From: xx572959496 Date: Tue, 26 Nov 2024 13:50:17 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=89=93=E5=8C=85=E7=BB=93?= =?UTF-8?q?=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 ++ src/App.vue | 6 +++--- src/main.js | 4 +--- vite.config.js | 35 +++++++++++++++++++++++++++++++++-- 4 files changed, 39 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index 2afa267..af8f99b 100644 --- a/package.json +++ b/package.json @@ -19,6 +19,8 @@ }, "devDependencies": { "@vitejs/plugin-vue": "^5.1.4", + "unplugin-auto-import": "^0.18.5", + "unplugin-vue-components": "^0.27.4", "vite": "^5.4.10" } } diff --git a/src/App.vue b/src/App.vue index 157bb9a..0b97b10 100644 --- a/src/App.vue +++ b/src/App.vue @@ -7,7 +7,7 @@ import '@logicflow/extension/lib/style/index.css' import "@logicflow/core/lib/style/index.css"; import X2JS from "x2js"; import {ElMessage} from "element-plus"; -import { saveAs } from 'file-saver'; +import {saveAs} from 'file-saver'; import vkbeautify from 'vkbeautify'; const upload = ref(null); @@ -395,8 +395,8 @@ const handleUploadRemove = () => {