Replies: 1 comment
-
That's a great hint! It is documented in the Vite documentation (https://vitejs.dev/config/#server-proxy), which is linked to from the SvelteKit documentation (https://kit.svelte.dev/docs#configuration-vite). I don't know that we'd want to duplicate all the documentation between the two sources as it might be difficult to keep them in sync and up-to-date, but perhaps there are things we could do to make it more discoverable? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I put this gem in my svelte.config.js
And, like vue and react I can proxy my svelekit SPA to a backend API.
I only found this because of a 3 year svelte issue sveltejs/svelte#3717
Is there a reason this isn't documented anywhere? It seems like critical info for anybody developing a non-ssr SPA in sveltekit.
Beta Was this translation helpful? Give feedback.
All reactions