Sorry about the non news, but does anyone know how to embed Svelte/kit code in an HTML file? (w/ out doing npm or server stuff) @jeffalo @late and @oren if you are here.

comments (single view)

wdym, svelte is a compiler, you need it downloaded to do anything

i want to do this: https://stackoverflow.com/questions/61966179/run-a-svelte-app-from-file-with-no-sever

but without using npm to build it

or at least have a svelte component in html

that’s not how that works, use npm lol, do you have any reason you can’t use it?

the api is written in python

since the api is separate from the site, you can just deploy the svelte app separately. it also compiles into html

the api is on the same domain

See more replies
View all comments