Quantcast
Channel: Active questions tagged svelte - Stack Overflow
Viewing all articles
Browse latest Browse all 1812

Can a SvelteKit App be turned into a web component?

$
0
0

I'm quite new to Svelte/SvelteKit but have been using Vue for years. I decided to port one of my Vue projects over to Svelte that is a custom web component that is used on several sites running on different frameworks.

Being new to Svelte, I selected SvelteKit when scaffolding the project as I didn't think it would make a difference.

I've created the entire thing and it works great but noticed that all the online guides for converting a Svelte app to a web component are Svelte specific and not SvelteKit.

The app itself only contains one single +layout.svelte and +page.svelte file in the routes folder.

Can a SvelteKit app such as the one I've created be turned into a web component or will I have to port this over to vanilla Svelte?


Viewing all articles
Browse latest Browse all 1812

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>