build: 📦 升级 Vite 5 ,要求 node 版本≥ 18

This commit is contained in:
hxr 2023-12-27 23:03:45 +08:00
parent 7cd5582e13
commit c82b055fe8
3 changed files with 13 additions and 13 deletions

View File

@ -1,7 +1,7 @@
<p align="center">
<img src="https://img.shields.io/badge/Vue-3.3.4-brightgreen.svg"/>
<img src="https://img.shields.io/badge/Vite-4.4.11-green.svg"/>
<img src="https://img.shields.io/badge/Element Plus-2.3.14-blue.svg"/>
<img src="https://img.shields.io/badge/Vue-3.3.13-brightgreen.svg"/>
<img src="https://img.shields.io/badge/Vite-5.0.10-green.svg"/>
<img src="https://img.shields.io/badge/Element Plus-2.4.4-blue.svg"/>
<img src="https://img.shields.io/badge/license-MIT-green.svg"/>
<a href="https://gitee.com/youlaiorg" target="_blank">
<img src="https://img.shields.io/badge/Author-有来开源组织-orange.svg"/>
@ -55,7 +55,7 @@
| 环境 | 名称版本 | 备注 |
| -------------------- | :----------------------------------------------------------- | ------------------------------------------------------------ |
| **开发工具** | VSCode | [下载地址](https://code.visualstudio.com/Download) |
| **运行环境** | Node 16+ | [下载地址](http://nodejs.cn/download) |
| **运行环境** | Node 18+ | [下载地址](http://nodejs.cn/download) |
| **VSCode插件(必装)** | 1. `Vue Language Features (Volar) ` <br/> 2. `TypeScript Vue Plugin (Volar) ` <br/>3. 禁用 Vetur | ![vscode-plugin](https://foruda.gitee.com/images/1687755823108948048/d0198b2d_716974.png) |

View File

@ -1,6 +1,6 @@
{
"name": "vue3-element-admin",
"version": "2.7.2",
"version": "2.8.0",
"private": true,
"scripts": {
"preinstall": "npx only-allow pnpm",
@ -41,11 +41,11 @@
},
"dependencies": {
"@element-plus/icons-vue": "^2.3.1",
"@vitejs/plugin-vue": "^4.5.2",
"@vueuse/core": "^10.7.0",
"@vitejs/plugin-vue": "^4.6.0",
"@vueuse/core": "^10.7.1",
"@wangeditor/editor": "^5.1.23",
"@wangeditor/editor-for-vue": "5.1.10",
"axios": "^1.6.2",
"axios": "^1.6.3",
"echarts": "^5.4.3",
"element-plus": "^2.4.4",
"lodash-es": "^4.17.21",
@ -102,19 +102,19 @@
"stylelint-config-standard": "^34.0.0",
"stylelint-config-standard-scss": "^11.1.0",
"typescript": "^5.3.3",
"unocss": "^0.51.13",
"unocss": "^0.58.1",
"unplugin-auto-import": "^0.15.3",
"unplugin-icons": "^0.16.6",
"unplugin-vue-components": "^0.24.1",
"vite": "^4.5.1",
"vite": "^5.0.10",
"vite-plugin-mock": "^3.0.0",
"vite-plugin-svg-icons": "^2.0.1",
"vue-tsc": "^1.8.26"
"vue-tsc": "^1.8.27"
},
"repository": "https://gitee.com/youlaiorg/vue3-element-admin.git",
"author": "有来开源组织",
"license": "MIT",
"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
}
}

View File

@ -1,6 +1,6 @@
const defaultSettings: AppSettings = {
title: "vue3-element-admin",
version: "v2.7.2",
version: "v2.8.0",
showSettings: true,
tagsView: true,
fixedHeader: false,