Command
npm run previewExplanation
Preview 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 4173npm run previewPreview the production build locally to test how it will work in production.
Preview production build
npm run previewPreview on specific port
npm run preview -- --port 4173