Command
npm run previewExplanation
Serves the production build locally to test how it will work in production.
Examples
Preview production build
npm run previewPreview on specific port
npm run preview -- --port 4173Preview accessible from network
npm run preview -- --host