NuxtN
Nuxt16mo ago
19 replies
Imran

Nuxt dev server from code server

I started a dev server(hmr) from a self hosted code-server. Code server serves from https://example.com/proxy/3000. the dev servers runs but assets(css,js,images) don't load properly. I figured it has something to do with proxying but I'm unsure how to go about it, I assume i should proxy https://example.com to https://example.com/proxy/3000. But i don't know if to use the vite, app, or nitro dev proxy option.
Was this page helpful?