Skip to content

Commit 9acf2bf

Browse files
committed
docs(guides): 更新Vue2指南以反映0.18.0版本配置变更
从0.18.0版本开始,WinJS不再需要显式配置Vue2和Vue3的预设
1 parent dd5d940 commit 9acf2bf

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/en/guides/with-vue2.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ Explicitly install the required Vue2 version in the project (the specific versio
3434

3535
### Configure Preset
3636

37+
> Note: Starting from version `0.18.0`, WinJS no longer requires **explicit configuration** of presets for Vue2 and Vue3, so the configuration below can be removed.
38+
3739
```ts
3840
// In .winrc.ts or config/config.ts
3941
export default {

src/zh/guides/with-vue2.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ pnpm add vue@">=2.7.14"
3434

3535
### 配置预设
3636

37+
注意:从 `0.18.0` 开始,WinJS 不用**显示配置**有关 Vue2 和 Vue3 的预设,因此下面这段配置可以移除。
38+
3739
```ts
3840
// .winrc.ts or config/config.ts 中
3941
export default {

0 commit comments

Comments
 (0)