Skip to content
This repository has been archived by the owner on Nov 14, 2024. It is now read-only.

Fix storybook and update readme #16

Merged
merged 3 commits into from
Jun 4, 2021
Merged

Conversation

jamespaulmuir
Copy link
Contributor

Making sure yarn.lock has correct versions for storybook to able to build components and update README to include dev steps to run storybook.

Copy link
Contributor

@georgialoper georgialoper left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I ended up needing to run yarn add vue-loader@next -D (following this SO answer) to get storybook to compile without the pictured errors even after pulling this updated yarn.lock file. I removed vue-loader from package.json and tried to reinstall it, but didn't get anything in my git diff. I have no idea what's up with that, but thought I'd document this in case anyone else experiences issues running storybook. Thanks for updating these!

Screen Shot 2021-06-02 at 9 23 53 AM

@georgialoper
Copy link
Contributor

@jamespaulmuir just pushed this commit based on suggestions in this storybook issue that seems to have solved my issue running yarn run storybook outlined above and allows me to run yarn run build-storybook successfully as well. Seems like transitive dependencies of storybook were using vue 2 versions of vue-loader, this forces them to use the vue3 version.

@jamespaulmuir jamespaulmuir merged commit dc6daac into master Jun 4, 2021
@jamespaulmuir jamespaulmuir deleted the fix-storybook-update-readme branch June 18, 2021 18:25
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants