Build the admin console
Build the public blog
Configure the API URL
Before building for production, check each module’s.env.production and set VITE_API_URL to the real backend address.
Deploy assets
- Deploy the build output to an Nginx static directory.
- Fall back to
index.htmlfor history-mode routes. - Configure caching for static assets.