-
Notifications
You must be signed in to change notification settings - Fork 106
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
Migrated from CRA, using builder-vite, No stories rendered, inifinite spinner and no console errors. #525
Comments
@visualjeff It's definitely possible to use the vite builder with 6.5, although it does work better and is easier to configure in 7.0. If you're not seeing any errors in the console or the terminal, are you seeing any activity in the network tab? I see that you do not have If that doesn't seem to be the issue, maybe something else is happening. Do builds complete successfully, or do you get an error? If they complete, do you still see the infinite spinner when you load it up (with |
First off Ian, thank you for your time. I will set the storyStoreV7 so its enabled. Builds using vite do complete fine. Anyway, let me try storyStoreV7 and get back. Jeff |
Is that with You could also try out the 7.0 beta, which may be a bit faster to start up from cold, because the manager is pre-built and webpack isn't used. If you decide to try it out, you can run |
With storyStoreV7 it does seem to start off faster. That is an interesting point about index.js files being re-exported lots of other files. We do re-exporting. Do you know if Storybook has any best practices pertaining to this? Really appreciate your help and input. I'm making some progress. Stories are being rendered. It just takes a while. |
What version of
vite
are you using?3.2.5
System info and storybook versions
System:
Binaries:
Browsers:
devDependencies:
Describe the Bug
Migrated from CRA using builder-vite and all I'm seeing a loadering spinner. So my question is, can a team use builder-vite with Storybook 6.5 or should we wait until Storybook 7 is formally released?
.storybook/main.js
.storybook/preview.jsx
Link to Minimal Reproducible Example
No response
Participation
The text was updated successfully, but these errors were encountered: