From fdaa7ac78043627c040b3f069f9e251e64b0ce16 Mon Sep 17 00:00:00 2001 From: weixin_46115723 Date: Tue, 5 Nov 2024 15:39:00 +0800 Subject: [PATCH] Tue Nov 5 15:39:00 CST 2024 inscode --- package.json | 17 ++++++++++------- src/App.vue | 2 +- vite.config.js | 14 +------------- 3 files changed, 12 insertions(+), 21 deletions(-) diff --git a/package.json b/package.json index 3dcd187..83e954b 100644 --- a/package.json +++ b/package.json @@ -1,20 +1,23 @@ { "name": "vuejs-with-vite", "version": "0.0.0", + "private": true, + "type": "module", "scripts": { "dev": "vite", "build": "vite build", "preview": "vite preview --port 4173" }, "dependencies": { - "element-plus": "^2.7.0", - "guess": "^1.0.2", - "pinia": "^2.1.7", - "vue": "^3.2.37", - "vue-router": "^4.3.0" + "@element-plus/icons-vue": "^2.3.1", + "element-plus": "^2.8.7", + "pinia": "^2.2.4", + "vue": "^3.5.12", + "vue-router": "^4.4.5" }, "devDependencies": { - "@vitejs/plugin-vue": "^3.0.1", - "vite": "^5.0.1" + "@vitejs/plugin-vue": "^5.1.4", + "less": "^4.2.0", + "vite": "^5.4.10" } } diff --git a/src/App.vue b/src/App.vue index e864195..abcb2b9 100644 --- a/src/App.vue +++ b/src/App.vue @@ -5,7 +5,7 @@ import HelloWorld from './components/HelloWorld.vue'