sveltekit-modal
sveltekit-modal copied to clipboard
Write Python endpoints in SvelteKit using Modal
Change 1: In the file `node_modules/sveltekit-modal/esm/src/vite/sveltekit_modal/src/app.py` Remove `@stub.asgi_app()` Replace with `@modal.asgi_app()` // and of course import modal Change 2: In the file `node_modules/sveltekit-modal/esm/src/vite/sveltekit_modal/src/serve.py` Remove `run_serve_loop('sveltekit_modal.app', stdout=Logger(sys.stdout), show_progress=True)` Replace with `serve_stub(stub_ref='sveltekit_modal.app',...
Deploying modal got the following error:  Client side I got this: 
Keep getting various different python errors when trying different combinations of `modal-client` versions with `sveltekit-modal`, ranging from `Cannot find requirements.txt` to `No module named 'modal._live_reload'`. Seems like this lib hasn't...