mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-05 08:01:20 +08:00
upgrade docs changes
This commit is contained in:
parent
4b0346ba6b
commit
1dc20dd637
@ -38,9 +38,16 @@ In addition to the above, Storybook is under constant development, and we publis
|
|||||||
|
|
||||||
To upgrade to the latest pre-release:
|
To upgrade to the latest pre-release:
|
||||||
|
|
||||||
```sh
|
<!-- prettier-ignore-start -->
|
||||||
npx storybook@next upgrade --prerelease
|
|
||||||
```
|
<CodeSnippets
|
||||||
|
paths={[
|
||||||
|
'common/storybook-upgrade-prerelease.npm.js.mdx',
|
||||||
|
'common/storybook-upgrade-prerelease.pnpm.js.mdx',
|
||||||
|
]}
|
||||||
|
/>
|
||||||
|
|
||||||
|
<!-- prettier-ignore-end -->
|
||||||
|
|
||||||
If you'd like to downgrade to a stable version, manually edit the package version numbers in your `package.json` and re-install.
|
If you'd like to downgrade to a stable version, manually edit the package version numbers in your `package.json` and re-install.
|
||||||
|
|
||||||
|
@ -0,0 +1,3 @@
|
|||||||
|
```shell
|
||||||
|
npx storybook@next upgrade --prerelease
|
||||||
|
```
|
@ -0,0 +1,3 @@
|
|||||||
|
```shell
|
||||||
|
pnpx storybook@next upgrade --prerelease
|
||||||
|
```
|
Loading…
x
Reference in New Issue
Block a user