Skip to content

Commit

Permalink
docs: handle chinese quick-start docs code errors (#3165)
Browse files Browse the repository at this point in the history
Co-authored-by: Zack Jackson <[email protected]>
  • Loading branch information
shaobeichen and ScriptedAlchemy authored Nov 4, 2024
1 parent 04e6559 commit 083af4b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions apps/website-new/docs/zh/guide/start/quick-start.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -95,11 +95,8 @@ import { pluginReact } from '@rsbuild/plugin-react';
import { pluginModuleFederation } from '@module-federation/rsbuild-plugin';

export default defineConfig({
plugins: [pluginReact()],
server: {
port: 3000,
},
plugins: [
pluginReact(),
pluginModuleFederation({
name: 'federation_provider',
exposes: {
Expand All @@ -108,6 +105,9 @@ export default defineConfig({
shared: ['react', 'react-dom'],
}),
],
server: {
port: 3000,
},
});
```

Expand Down

0 comments on commit 083af4b

Please sign in to comment.