Skip to content
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

LITE-29965 add storybook support for vite, upgrade to storybook 8 #89

Conversation

paulinaczybir
Copy link
Collaborator

@paulinaczybir paulinaczybir commented May 6, 2024

  • upgrade Storybook to version 8
  • figma design is now included in story not in MDX file
  • add stories.css to keep stories styles there
  • delete MDX files for different icon types (it wasn't possible anymore to render Vue component in MDX) and replace them with separate story for each types of icon, it's not ideal but at least we can check all available icons
  • delete multiple not needed dependencies
  • IMPORTANT: after moving to use vite the loading time of storybook components (initial load )slowed down significantly and I didn't find any way to improve that yet

@paulinaczybir paulinaczybir force-pushed the LITE-29965-storybook-to-work-with-vite branch from b9ea51e to 01f40d0 Compare May 6, 2024 22:03
@paulinaczybir paulinaczybir changed the title LITE-29965 add storybook support for vite LITE-29965 add storybook support for vite, upgrade to storybook 8 May 6, 2024
Copy link
Member

@arnaugiralt arnaugiralt left a comment

Choose a reason for hiding this comment

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

LGTM!!! great job

@arnaugiralt arnaugiralt merged commit 500a5d5 into feature/LITE-29730-migrate-to-esm-and-from-webpack-to-vite May 7, 2024
3 of 4 checks passed
@arnaugiralt arnaugiralt deleted the LITE-29965-storybook-to-work-with-vite branch May 7, 2024 16:16
paulinaczybir pushed a commit that referenced this pull request May 9, 2024
…th-vite

LITE-29965 add storybook support for vite, upgrade to storybook 8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants