@modern-js/main-doc 0.0.0-nightly-20240716170625 → 0.0.0-nightly-20240718170638

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.
@@ -247,7 +247,7 @@ In a multi-entry (MPA) scenario, the value of `routeId` needs to include the nam
247
247
 
248
248
  If you want to get the data returned by the `loader` in `entry1/routes/layout.tsx`, the value of `routeId` is `entry1_layout`.
249
249
 
250
- ### (WIP)Loading UI
250
+ ### Loading UI (Experimental)
251
251
 
252
252
  :::info
253
253
  This feature is currently experimental and the API may change in the future.
@@ -290,7 +290,7 @@ When accessing the route, you will get the following UI layout:
290
290
  </RootLayout>
291
291
  ```
292
292
 
293
- ### (WIP)Loading
293
+ ### Loading (Experimental)
294
294
 
295
295
  In each directory under `routes/`, developers can create a `loading.tsx` file that exports a `<Loading>` component by default.
296
296
 
@@ -247,7 +247,7 @@ export function UserLayout() {
247
247
  如果想获取 `entry1/routes/layout.tsx` 中 `loader` 返回的数据,`routeId` 的值就是 `entry1_layout`。
248
248
 
249
249
 
250
- ### (WIP)Loading UI
250
+ ### Loading UI (Experimental)
251
251
 
252
252
  :::info
253
253
  此功能目前是实验性质,后续 API 可能有调整。
@@ -296,7 +296,7 @@ Modern.js 会生成 `/login` 和 `/sign` 两条路由,`__auth/layout.tsx` 组
296
296
  </RootLayout>
297
297
  ```
298
298
 
299
- ### (WIP)Loading
299
+ ### Loading (Experimental)
300
300
 
301
301
  `routes/` 下每一层目录中,开发者可以创建 `loading.tsx` 文件,默认导出一个 `<Loading>` 组件。
302
302
 
package/package.json CHANGED
@@ -15,17 +15,17 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "0.0.0-nightly-20240716170625",
18
+ "version": "0.0.0-nightly-20240718170638",
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": "0.0.0-nightly-20240716170625"
25
+ "@modern-js/sandpack-react": "0.0.0-nightly-20240718170638"
26
26
  },
27
27
  "peerDependencies": {
28
- "@modern-js/builder-doc": "0.0.0-nightly-20240716170625"
28
+ "@modern-js/builder-doc": "0.0.0-nightly-20240718170638"
29
29
  },
30
30
  "devDependencies": {
31
31
  "classnames": "^2",
@@ -39,8 +39,8 @@
39
39
  "@rspress/shared": "1.26.1",
40
40
  "@types/node": "^16",
41
41
  "@types/fs-extra": "9.0.13",
42
- "@modern-js/builder-doc": "0.0.0-nightly-20240716170625",
43
- "@modern-js/doc-plugin-auto-sidebar": "0.0.0-nightly-20240716170625"
42
+ "@modern-js/doc-plugin-auto-sidebar": "0.0.0-nightly-20240718170638",
43
+ "@modern-js/builder-doc": "0.0.0-nightly-20240718170638"
44
44
  },
45
45
  "scripts": {
46
46
  "dev": "rspress dev",