@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
|
-
###
|
|
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
|
-
### (
|
|
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
|
|
package/package.json
CHANGED
|
@@ -15,17 +15,17 @@
|
|
|
15
15
|
"modern",
|
|
16
16
|
"modern.js"
|
|
17
17
|
],
|
|
18
|
-
"version": "0.0.0-nightly-
|
|
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-
|
|
25
|
+
"@modern-js/sandpack-react": "0.0.0-nightly-20240718170638"
|
|
26
26
|
},
|
|
27
27
|
"peerDependencies": {
|
|
28
|
-
"@modern-js/builder-doc": "0.0.0-nightly-
|
|
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/
|
|
43
|
-
"@modern-js/doc
|
|
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",
|