-
Notifications
You must be signed in to change notification settings - Fork 104
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
Ark + Astro + Solid does not work. #1045
Comments
Thanks for taking the time to report this issue. I've used your example and added an Astro example to the repository. Using workspace resolution I'm happy to report everything works fine. Using a pinned version I can reproduce your issue |
Unfortunately i'm running into the same error, using workspace resolution is nice but won't work for our external projects ( unless i'm missing something ) adding
cloning ark locally and using in the locally cloned ark project once I change the package.json > main from |
After a long try everything, break everything session. I've been able to close down on where the issue might lie. building the project not trough vite but trough rollup with the simpel config
allows me to use astro, I will do some more testing to see where the exact issue lies after I got some sleep |
@cschroeter so from my testing i'm not able to get the build working trough vite. the output is majorly different and seems to be aggressively shaken. rollup however creates an build that astro is happy with! taking notes from https://github.com/kobaltedev/kobalte exchanged value in using
as dependency works brilliantly as an example I added node ssr to the solid example @ https://github.com/spaaacetoast/ark/tree/solid-working-with-astro-ssr to replicate behaviour. tagged version doens't work like you mentioned, my git url and workspace does Is it a possibility to use rollup instead of vite for building @ark-ui/solid? |
@spaaacetoast thanks for going for a deep dive here. I will have a chat with @segunadebayo on Monday and we take it from there. |
@spaaacetoast Could you pls try |
@cschroeter it seems to work brilliantly! In my project and in a test project, thanks! :) |
The only thing I've changed is to set The generated output changed from const _tmpl$ = /*#__PURE__*/template(`<option>`); to const _tmpl$ = ["<option", ">", "</option>"]; But tbh I'm not sure what the implication are for none ssr setups |
Solved with |
Description
When I use Ark + Solid with Astro.js, I expect it to work, but I'm getting the error:
Link to Reproduction
https://github.com/j/ark-astro
Steps to reproduce
pnpm i
pnpm dev
Ark UI Version
0.6.0
Framework
Browser
Arc
Additional Information
No response
The text was updated successfully, but these errors were encountered: