vite+vue2+elementui构建之 package.json

webpack版本太低,构建依赖太多,头大。

各种查阅资料,弄了一份直通构建vite构建elementUi核心文件,

构建基于开源若依vue2+vue3版本改造,感谢开源,感谢若依。

vite+vue2+elementui构建之 vite.config.js-CSDN博客

package.json

javascript 复制代码
{
  "name": "自行替换工程名",
  "private": true,
  "version": "0.0.0",
  "type": "module",
  "scripts": {
    "dev": "vite",
    "build": "vite build",
    "preview": "vite preview"
  },
  "dependencies": {
    "aieditor": "^1.3.8",
    "axios": "^1.8.4",
    "clipboard": "^2.0.8",
    "core-js": "^2.6.11",
    "crypto-js": "^4.2.0",
    "dayjs": "^1.11.13",
    "echarts": "^4.2.1",
    "element-ui": "^2.15.13",
    "file-saver": "^2.0.5",
    "js-cookie": "^2.2.0",
    "normalize.css": "^8.0.1",
    "nprogress": "^0.2.0",
    "qrcode": "^1.5.4",
    "screenfull": "^5.0.2",
    "v-charts": "^1.19.0",
    "v-distpicker": "^1.0.20",
    "vue": "^2.7.16",
    "vue-cropper": "^0.5.5",
    "vue-meta": "^2.4.0",
    "vue-router": "^3.4.9",
    "vuedraggable": "^2.24.3",
    "vuex": "^3.6.0"
  },
  "devDependencies": {
    "@vitejs/plugin-vue2": "^2.3.3",
    "@vitejs/plugin-vue2-jsx": "^1.1.1",
    "fast-glob": "^3.3.3",
    "sass": "1.77.5",
    "sass-loader": "10.1.1",
    "unplugin-auto-import": "^19.1.2",
    "vite": "^4.0.0",
    "vite-plugin-svg-icons": "^2.0.1"
  },
  "engines": {
    "node": ">=8.9",
    "npm": ">= 3.0.0"
  },
  "browserslist": [
    "> 1%",
    "last 2 versions"
  ]
}
相关推荐
咚咚咚小柒14 小时前
【前端】LangChain.js学习
前端·javascript·人工智能·typescript·langchain·vue·ai编程
悟道书生3 天前
若依 RBAC 权限控制学习笔记
java·网络·笔记·sql·学习·vue
mewowaBc3 天前
使用Pinia持久化存储实现用户认证系统
vue·pinia·用户认证系统
gc_22994 天前
使用VS Code终端创建Vue项目报错:“npm : 无法加载文件 ...\npm.ps1,因为在此系统上禁止运行脚本”
vue·vs code
小阿鑫4 天前
尤雨溪 : Vue 4 已经在规划中了!
vue·vite·vite+·程序员海军·vue4
离歌漠4 天前
《我用 Tauri 做了一个本地开发工具箱》
rust·typescript·vue
enjoy编程5 天前
playwright学习-I
typescript·vue·nodejs·1024程序员节·playwright
YFF菲菲兔6 天前
EvaluatedModules
vite
落花看风雪7 天前
从零开始搭建后台系统(vue3+TypeScript+Vite)01
typescript·vue·js