Skip to content

Commit

Permalink
docs: add upgrade faq component
Browse files Browse the repository at this point in the history
  • Loading branch information
caohuilin committed Dec 16, 2024
1 parent b1477c8 commit 93f413b
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 253 deletions.
Empty file.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ You can see that the dependencies in the project's `package.json` have been upda
If the `upgrade` command is not declared in the project's `package.json`, you can execute `npx modern upgrade` as an equivalent alternative.
:::

import UpgradeFaq from '@site-docs-en/components/upgrade-faq';

<UpgradeFaq />

## Upgrade to a specified version

All packages of Modern.js are currently released with a **uniform version number**.
Expand Down
Empty file.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ import { PackageManagerTabs } from '@theme';
如果项目的 package.json 中没有声明 upgrade 命令,你可以执行 `npx modern upgrade`,效果是等价的。
:::

import UpgradeFaq from '@site-docs/components/upgrade-faq';

<UpgradeFaq />

## 指定版本升级

Modern.js 所有的官方包目前都使用**统一版本号**进行发布。
Expand Down
Loading

0 comments on commit 93f413b

Please sign in to comment.