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

too bad, use node.js

the api is written in python

thats sounds like a you problem and not a me problem

not for long 😈

I will write my api and use my. you can still do it though :)

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

it’s impossible, just install npm