mirror of
https://github.com/storybookjs/storybook.git
synced 2025-03-31 05:03:21 +08:00
Update MIGRATION.md
This commit is contained in:
parent
0b5f2db374
commit
cf2e3601b4
@ -83,9 +83,9 @@ In storybook 5.3 3 new files for configuration were introduced, that replaced so
|
|||||||
|
|
||||||
These files are now soft-deprecated, (_they still work, but over time we will promote users to migrate_):
|
These files are now soft-deprecated, (_they still work, but over time we will promote users to migrate_):
|
||||||
|
|
||||||
- `config.js` has been renamed to `preview.js`.
|
- `presets.js` has been renamed to `main.js`. `main.js` is the main point of configuration for storybook.
|
||||||
- `addons.js` has been renamed to `manager.js`.
|
- `config.js` has been renamed to `preview.js`. `preview.js` configures the "preview" iframe that renders your components.
|
||||||
- `presets.js` has been renamed to `main.js`.
|
- `addons.js` has been renamed to `manager.js`. `manager.js` configures Storybook's "manager" UI that wraps the preview, and also configures addons panel.
|
||||||
|
|
||||||
#### Using main.js
|
#### Using main.js
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user