routers

Vue 2 项目 Webpack 升级到 Vite 构建工具

@user_2fae1490/vue2-vite-upgrade

By user_2fae1490

About this Skill

将 Vue 2 + Webpack 项目升级到 Vite 构建工具。当用户需要将 Vue 2 项目从 Webpack 迁移到 Vite、优化构建速度、解决 Webpack 配置问题,或处理 Vue CLI/Webpack 与 Vite 环境变量兼容时使用此技能。触发场景包括:(1) 用户提到"升级到 Vite"、"迁移到 Vite"、"Webpack 转 Vite";(2) 用户抱怨 Webpack 构建慢、热更新慢;(3) 用户想要现代化 Vue 2 项目的构建工具;(4) 用户遇到 Webpack 配置复杂难以维护的问题;(5) 用户询问如何提升 Vue 2 项目的开发体验;(6) 用户提到 process.env、VUE_APP_*、import.meta.env、VITE_* 等环境变量兼容。

前端开发脚本工具

Skill files and instructions

Read SKILL.md and the other instructions or configuration files published with this Skill.

Loading file list

Details

Category
Development
Source
Community
Version
1.0.2
Updated
Sep 21, 2026
View original listing
Drag to dock at either edge, or use arrow keys to move. Press Enter to open support.