DEV Community

Discussion on: How to: embed a Svelte app within a PHP application, with Live Reload

Collapse
tonyketcham profile image
Tony Ketcham Author

I have not, but I'd imagine you could get a pleasant multi-page setup with SvelteKit mounted at an element in your PHP app in SPA mode, though there may be some caveats. Using the static adapter could be troublesome in that your SvelteKit app would take you out of your PHP context, unless you mount it inside an iFrame.