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

Svelte 5 errors #1

Open
WoutPitje opened this issue Nov 3, 2024 · 4 comments
Open

Svelte 5 errors #1

WoutPitje opened this issue Nov 3, 2024 · 4 comments

Comments

@WoutPitje
Copy link

node_modules/wx-svelte-menu/node_modules/wx-svelte-core/src/components/Button.svelte:12:23 Declaring or accessing a prop starting with $$ is illegal (they are reserved for Svelte internals) [plugin vite-plugin-svelte:optimize-svelte]

@mkozhukh
Copy link

mkozhukh commented Nov 8, 2024

Yes, we are aware, and we are updating core libs now with the plan to fix the Gantt as well later
The Svelte 5 compatible version will be available till the end of the November

@mkozhukh
Copy link

We have just published [email protected], which is compatible with Svelte 5.x.
The final version and updated documentation will be available in the next few days.

@ahrorbeksoft
Copy link

We have just published [email protected], which is compatible with Svelte 5.x. The final version and updated documentation will be available in the next few days.

is there any configurations that we have to follow for svelte 5? i'm having 'ERR_MODULE_NOT_FOUND' error in wx-gantt-locales package

@mkozhukh
Copy link

mkozhukh commented Nov 26, 2024

Yep, having it Svelte 5 compatible is one thing, but making it SvelteKit compatible is a bit different.
Update to [email protected] — it will work with SvelteKit.

API itself has no significant changes, just normal Svelte 5 staff ( onsome handlers instead of on:some events, bind:this instead of bind:api )

https://github.com/svar-widgets/gantt/tree/svelte-5/svelte/demos/cases

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

No branches or pull requests

3 participants