Development vs Production
Development mode is designed for local development and debugging. A production build prepares optimized assets for deployment.
Basic Deployment Process
- Install dependencies.
- Run automated checks.
- Build the application.
- Deploy the generated production assets.
- Configure the web server for the application routing strategy.
- Verify API URLs and environment configuration.
- Test the deployed application.
Deployment Checklist
- Production build succeeds.
- Environment values are correct.
- Client-side routes work after refresh.
- API requests use the correct backend.
- Authentication works correctly.
- Browser console has no unexpected errors.
- Important pages work on mobile and desktop.
ADVERTISEMENT