Symfony UX Svelte 5 with svelte.ts files (sharing reactive state) #2643
telelek
started this conversation in
Symfony UX Showcase
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Thanks to this kind reproducible by @ChqThomas I was able to get Svelte 5 with TypeScript running in my Symfony project using WebpackEncore.
The last thing I was trying to get working were svelte.js/.ts files, to be able to
"creating reusable reactive logic, or sharing reactive state"
.With the help of the svelte-loader documentation I have been able to setup a fully working example.
You can find the example repo here: symfony-svelte5-example
Beta Was this translation helpful? Give feedback.
All reactions