Yes, you’re right, using the proxy is also an option, but it seems like a bit of overhead to me.
Michał Męciński

You should be able to proxy to whatever you want (including :80). It should work on the same principle; where the dev server injects the script/style tags as it would for a local SPA index.html file. Basically, set a conditional to load the static assets when in production mode (eg. CDN), and that’s it.

Like what you read? Give Bobby Juncosa a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.