Skip to content

Commit e7d753d

Browse files
committed
docs: change express
1 parent c81a6a4 commit e7d753d

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

examples/module-federation/mf-react-component/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Dev MF module
1212
nx run @examples/mf-remote:dev
1313
```
1414

15-
2. Use Storybook to development component.
15+
2. Use Storybook to develop component.
1616

1717
```
1818
nx run @examples/mf-react-component:storybook

website/docs/en/guide/advanced/module-federation.mdx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ However, if you want this Rslib Module to consume other producers at the same ti
8888

8989
## Develop Module Federation remote module
9090

91-
Rslib support use `storybook` to develop Module Federation Rslib module
91+
Rslib supports use `storybook` to develop Module Federation Rslib module
9292

9393
#### 1. install storybook and rsbuild storybook addon
9494

@@ -152,6 +152,8 @@ const config: StorybookConfig = {
152152
// we have set dev.assetPrefix and server.port to 3001 in rslib.config.ts above
153153
remotes: {
154154
'rslib-module':
155+
// you can also add shared here for storybook app
156+
// shared: {}
155157
'rslib-module@http://localhost:3001/mf/mf-manifest.json',
156158
},
157159
},

0 commit comments

Comments
 (0)