mirror of
https://github.com/WeBankFinTech/fes.js.git
synced 2025-10-13 18:22:13 +08:00
docs: 完善 docs
This commit is contained in:
parent
4158a1aee2
commit
720296fc82
18
docs/guide/upgrade4.md
Normal file
18
docs/guide/upgrade4.md
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
# 从 3.x 迁移到 4.x
|
||||||
|
|
||||||
|
构建模块从 commonjs 切换到 esm
|
||||||
|
|
||||||
|
## 需调整内容
|
||||||
|
|
||||||
|
- package.json 添加 `"type": "module"`
|
||||||
|
|
||||||
|
## 版本 4.x 的 break
|
||||||
|
|
||||||
|
1. [@fesjs/builder-vite]: vite5 升级到 [vite7](https://cn.vitejs.dev/guide/migration.html)
|
||||||
|
2. [@fesjs/plugin-pinia]: pinia 2.x > [3.x](https://github.com/vuejs/pinia/releases/tag/v3.0.0)
|
||||||
|
|
||||||
|
## 插件
|
||||||
|
|
||||||
|
- 移除插件[@fesjs/plugin-vuex]
|
||||||
|
- 移除插件[@fesjs/plugin-windicss]
|
||||||
|
- 移除插件[@fesjs/plugin-jest]
|
Loading…
x
Reference in New Issue
Block a user