diff --git a/docs/guide/builder.md b/docs/guide/builder.md index a28e5e9a..fdd2a0d1 100644 --- a/docs/guide/builder.md +++ b/docs/guide/builder.md @@ -2,8 +2,8 @@ `Fes.js@2.1.x` 版本支持 Vite 和 Webpack 两种构建方式,不再内置构建方式,需要开发者自行选择: -- 选用 Vite 构建,安装 `npm i @fesjs/build-vite` 依赖即可。 -- 选用 Webpack 构建,安装 `npm i @fesjs/build-webpack` 依赖即可。 +- 选用 Vite 构建,安装 `npm i @fesjs/builder-vite` 依赖即可。 +- 选用 Webpack 构建,安装 `npm i @fesjs/builder-webpack` 依赖即可。 ## 使用差异 diff --git a/docs/guide/directory-structure.md b/docs/guide/directory-structure.md index bf0ffb89..9af41607 100644 --- a/docs/guide/directory-structure.md +++ b/docs/guide/directory-structure.md @@ -54,20 +54,19 @@ fes-template "@webank/eslint-config-webank": "0.3.1" }, "dependencies": { - "@fesjs/fes": "^2.0.0", - "@fesjs/builder-webpack": "^2.0.0", - "@fesjs/plugin-access": "^2.0.0", - "@fesjs/plugin-layout": "^3.0.0", - "@fesjs/plugin-locale": "^3.0.0", - "@fesjs/plugin-model": "^2.0.0", - "@fesjs/plugin-enums": "^2.0.0", - "@fesjs/plugin-jest": "^2.0.0", - "@fesjs/plugin-vuex": "^2.0.0", - "@fesjs/plugin-request": "^2.0.0", - "@fesjs/plugin-qiankun": "^2.0.0", - "@fesjs/plugin-sass": "^2.0.0", - "@fesjs/plugin-monaco-editor": "^2.0.0", - "@fesjs/plugin-windicss": "^2.0.0", + "@fesjs/fes": "^3.0.0-beta.0", + "@fesjs/builder-webpack": "^3.0.0-beta.0", + "@fesjs/plugin-access": "^3.0.0-beta.0", + "@fesjs/plugin-layout": "^5.0.0-beta.0", + "@fesjs/plugin-model": "^3.0.0-beta.0", + "@fesjs/plugin-enums": "^3.0.0-beta.0", + "@fesjs/plugin-jest": "^3.0.0-beta.0", + "@fesjs/plugin-vuex": "^3.0.0-beta.0", + "@fesjs/plugin-request": "^3.0.0-beta.0", + "@fesjs/plugin-qiankun": "^3.0.0-beta.0", + "@fesjs/plugin-sass": "^3.0.0-beta.0", + "@fesjs/plugin-monaco-editor": "^3.0.0-beta.0", + "@fesjs/plugin-windicss": "^3.0.0-beta.0", "@fesjs/fes-design": "^0.5.0", "vue": "^3.0.5", "vuex": "^4.0.0" diff --git a/docs/guide/upgrade3.md b/docs/guide/upgrade3.md index 35f589e1..dad4f19e 100644 --- a/docs/guide/upgrade3.md +++ b/docs/guide/upgrade3.md @@ -7,7 +7,7 @@ ## 不变更构建方式 -1. 添加 Webpack 构建依赖包: `npm i @fesjs/build-webpack -D`。 +1. 添加 Webpack 构建依赖包: `npm i @fesjs/builder-webpack -D`。 2. 如果有,将 `public/index.html` 文件挪到项目根目录,移除 [html-webpack-plugin](https://github.com/jantimon/html-webpack-plugin) 相关配置,具体模版变量使用请查看[HTML 模版](../guide/template.html)。 ## 换成 Vite