Search code examples
node.jswebserverconfigsveltevite

Where do I have to specify the sub-route I want my Vite project to run on?


I have a Svelte + Vue project which I want to be available on a sub-route ('/game') of my webserver.

I had this problem a few years ago with Vue and was able to find the solution, but cannot find it anymore. I can't find the option here (where I think it should be theoretically). https://vitejs.dev/config/build-options.html


Solution

  • It's the base option (different section of the docs).