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 support #668

Closed
marekdedic opened this issue Nov 10, 2024 · 4 comments
Closed

Svelte 5 support #668

marekdedic opened this issue Nov 10, 2024 · 4 comments
Labels
enhancement New feature or request

Comments

@marekdedic
Copy link

Hi,
I'd like to upgrade to Svelte 5, but it seems SMUI doesn't support it yet.

See skaut/shared-drive-mover#1806. This is a different problem from #662

@marekdedic marekdedic added the enhancement New feature or request label Nov 10, 2024
@awderh
Copy link

awderh commented Nov 17, 2024

FYI, this is the error I get at runtime:

index.js:4 Uncaught Error: Your application, or one of its dependencies, imported from 'svelte/internal', which was a private module used by Svelte 4 components that no longer exists in Svelte 5. It is not intended to be public API. If you're a library author and you used 'svelte/internal' deliberately, please raise an issue on https://github.com/sveltejs/svelte/issues detailing your use case.

And, at compile-time:

in ./node_modules/@smui/tab/dist/Tab.svelte 54:44-65
export 'get_current_component' (imported as 'get_current_component') was not found in 'svelte/internal' (module has no exports)

@tadmi
Copy link

tadmi commented Nov 18, 2024

@awderh, use the v8.0.0-alpha.0 to fix this error

@hperrin
Copy link
Owner

hperrin commented Nov 23, 2024

Svelte 5 is supported in the latest version. SMUI is slowly being migrated to Svelte 5 runes mode, and a todo list is in the end of the readme.

@hperrin hperrin closed this as completed Nov 23, 2024
@awderh
Copy link

awderh commented Nov 23, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants