Guide24.5K views4,746 votes0 replies1,448 following
Deploying a Vite App Under a Subdirectory: An Architecture Note on `base`
A wrong `base` leaves HTML loading while CSS and JS 404. Learn how Vite's `base` option rewrites asset URLs for subpath deployments, what it does not secure, and the proxy checks that keep client-side routing working.