Replies: 1 comment
-
The correct structure is:
Also, the addon-viewport is not necessary anymore. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
Issue
I am attempting to add a custom viewports and they are not appearing in the viewport drop-down.
Steps to reproduce
Here is my
.storybook/config.js
file. Note: I've tried it with and without the@storybook/addon-viewport
in the addons list.This is my
preview.ts
And my
devDependencies
inpackage.json
I only see these 3 Viewports in the dropdown

Additional information
Relevant output when running storybook
Create a reproduction
No response
Beta Was this translation helpful? Give feedback.
All reactions