-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for Angular Storybook #19
Comments
So far this package only supports react. Other frameworks could be supported by adding framework adapters ( There isn't much code in https://github.com/NicholasBoll/cypress-storybook/blob/master/react.js. There's framework specific code there that forces a Story to load (or reload) properly without a new page refresh. There's some framework agnostic code as well that could be abstracted into a common file. I'm interested in supporting other frameworks like Angular and Vue, but an adapter hasn't been made yet. I'm open to a pull request to add support. If you're not comfortable doing so, I'm sure I'll get around to an Angular adapter at some point. I'll leave this issue open and change the title to "Add support for Angular" |
I am trying to setup this lib on my project:
But I have this error when I included the react.js into my preview.js:
Module not found: Error: Can't resolve '@storybook/react' in '/Users/Jgelin/dev/grizzly/node_modules/cypress-storybook'
The text was updated successfully, but these errors were encountered: