-
I have been struggling for days with an issue getting the sidebar component to work in my svelte 5 project. I have been following the implementation from https://next.shadcn-svelte.com/docs/components/sidebar to perfection, even tried to mimic some of the dependencies (versions) used in the next branch in this repository, but to no avail. I am getting the follow error for the component:
I'm interested to know if anyone else has experienced this issue, and perhaps managed to solve it? If it helps, these are my dependencies, where I have updated vite to newest version along with bits-ui as I assumed those could be the culprit. devDependencies:
` |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi! I faced the same problem and I solved it by setting {
"target": "ES2015"
} |
Beta Was this translation helpful? Give feedback.
Thanks for the reply, it did not solve my problem though. Upgrading bits-ui dependency to "^1.3.5" did though.
But tbh I keep encountering one error after the other with this library for svelte 5, so I think I will just end up sacking it and making my own components instead.