-
Notifications
You must be signed in to change notification settings - Fork 94
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
Components not rendered in normal Svelte project #37
Comments
Thanks for the report. It's because there are a few IMO there's no reason why the Depending on if/when we can get better handling of this in SvelteKit, I may add my own hacky find-and-replace step to the build process. |
How can I handle this now, what should I do to make this work for now? |
I'll fix this in the next release (should be later today) by just adding some quick sed command to my release process or something. Hopefully we'll get some better support for this upstream in SvelteKit eventually. |
Just made a new release which fixes this. |
Hey this worked, thank you. I really appreciate this!!! |
Reproduction Repo: https://github.com/jerriclynsjohn/svelte-headlessui-test-repo.git
I'm trying to use this in a regular svelte project, I've set up a normal repo with only tailwindcss as the additional dependency, and still, when I try to import and use Switch it breaks.
Tested with the svelte kit and it works perfectly but doesn't work with a regular svelte SPA
The text was updated successfully, but these errors were encountered: