mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-04 12:31:06 +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:
|
||||
|
||||
```sh
|
||||
npx storybook@next upgrade --prerelease
|
||||
```
|
||||
<!-- prettier-ignore-start -->
|
||||
|
||||
<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.
|
||||
|
||||
|
@ -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