File tree Expand file tree Collapse file tree 1 file changed +24
-1
lines changed
website/docs/en/guide/advanced Expand file tree Collapse file tree 1 file changed +24
-1
lines changed Original file line number Diff line number Diff line change @@ -92,7 +92,30 @@ Rslib support use `storybook` to develop Module Federation Rslib module
9292
9393#### 1. install storybook and rsbuild storybook addon
9494
95- <PackageManagerTabs command = " install storybook storybook-addon-rslib @module-federation/storybook-addon storybook-react-rsbuild -D" />
95+ <PackageManagerTabs command = " install storybook storybook-addon-rslib @module-federation/storybook-addon -D" />
96+
97+ ` React App `
98+
99+ <PackageManagerTabs
100+ command = { {
101+ npm: ' npm add storybook-react-rsbuild -D' ,
102+ yarn: ' yarn add storybook-react-rsbuild -D' ,
103+ pnpm: ' pnpm add storybook-react-rsbuild -D' ,
104+ bun: ' bun add storybook-react-rsbuild -D' ,
105+ }}
106+ />
107+
108+ ` Vue App `
109+
110+ <PackageManagerTabs
111+ command = { {
112+ npm: ' npm add storybook-vue-rsbuild -D' ,
113+ yarn: ' yarn add storybook-vue-rsbuild -D' ,
114+ pnpm: ' pnpm add storybook-vue-rsbuild -D' ,
115+ bun: ' bun add storybook-vue-rsbuild -D' ,
116+ }}
117+ />
118+ This chapter will use ` React App ` as an example later.
96119
97120#### 2. create ` .storybook/main.ts ` and add addons
98121
You can’t perform that action at this time.
0 commit comments