Webpack 到 Vite 迁移指南

Official

大型 Vue 项目从 Webpack 平滑迁移到 Vite 的完整指南

AuthorTencentBlueKing
Version1.0.0
Installs0

System Documentation

What problem does it solve?

详细记录了大型 Vue 项目从 Webpack 迁移到 Vite 的完整步骤,包括别名配置、环境变量处理和 CommonJS 兼容性问题的解决。

Core Features & Use Cases

  • 提供完整的迁移流程和配置示例,帮助在现有项目中快速落地迁移。
  • 解释环境变量、别名解析和依赖兼容性的迁移要点,确保构建稳定性。
  • 给出实际场景示例,帮助团队评估迁移对性能和开发体验的影响。

Quick Start

按照指南开始迁移,将现有 Vue 项目从 Webpack 迁移至 Vite,并完成核心配置的迁移。

Dependency Matrix

Required Modules

None required

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: Webpack 到 Vite 迁移指南
Download link: https://github.com/TencentBlueKing/bk-bcs/archive/main.zip#webpack-vite

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.