@modern-js/main-doc 2.63.2 → 2.63.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/docs/en/apis/app/hooks/src/app.mdx +1 -1
- package/docs/en/components/upgrade-faq.mdx +0 -0
- package/docs/en/guides/get-started/upgrade.mdx +4 -0
- package/docs/zh/apis/app/hooks/src/app.mdx +1 -1
- package/docs/zh/components/upgrade-faq.mdx +0 -0
- package/docs/zh/guides/get-started/upgrade.mdx +4 -0
- package/package.json +2 -2
@@ -4,7 +4,7 @@ sidebar_position: 1
|
|
4
4
|
---
|
5
5
|
# App.[tj]sx
|
6
6
|
|
7
|
-
The identifier for the entry points when the application uses [Self-controlled Routing](/guides/
|
7
|
+
The identifier for the entry points when the application uses [Self-controlled Routing](/guides/concept/entries.html#self-controlled-routing).
|
8
8
|
|
9
9
|
`App.[tj]sx` is not the actual entry. Modern.js will generate the real entry for application. The content is roughly as follows:
|
10
10
|
|
File without changes
|
@@ -28,6 +28,10 @@ You can see that the dependencies in the project's `package.json` have been upda
|
|
28
28
|
If the `upgrade` command is not declared in the project's `package.json`, you can execute `npx modern upgrade` as an equivalent alternative.
|
29
29
|
:::
|
30
30
|
|
31
|
+
import UpgradeFaq from '@site-docs-en/components/upgrade-faq';
|
32
|
+
|
33
|
+
<UpgradeFaq />
|
34
|
+
|
31
35
|
## Upgrade to a specified version
|
32
36
|
|
33
37
|
All packages of Modern.js are currently released with a **uniform version number**.
|
File without changes
|
@@ -28,6 +28,10 @@ import { PackageManagerTabs } from '@theme';
|
|
28
28
|
如果项目的 package.json 中没有声明 upgrade 命令,你可以执行 `npx modern upgrade`,效果是等价的。
|
29
29
|
:::
|
30
30
|
|
31
|
+
import UpgradeFaq from '@site-docs/components/upgrade-faq';
|
32
|
+
|
33
|
+
<UpgradeFaq />
|
34
|
+
|
31
35
|
## 指定版本升级
|
32
36
|
|
33
37
|
Modern.js 所有的官方包目前都使用**统一版本号**进行发布。
|
package/package.json
CHANGED
@@ -15,14 +15,14 @@
|
|
15
15
|
"modern",
|
16
16
|
"modern.js"
|
17
17
|
],
|
18
|
-
"version": "2.63.
|
18
|
+
"version": "2.63.3",
|
19
19
|
"publishConfig": {
|
20
20
|
"registry": "https://registry.npmjs.org/",
|
21
21
|
"access": "public",
|
22
22
|
"provenance": true
|
23
23
|
},
|
24
24
|
"dependencies": {
|
25
|
-
"@modern-js/sandpack-react": "2.63.
|
25
|
+
"@modern-js/sandpack-react": "2.63.3"
|
26
26
|
},
|
27
27
|
"devDependencies": {
|
28
28
|
"@rspress/shared": "1.35.4",
|