Read the documentation carefully, you will learn about how you can deploy the production builds on the server.
To create a production build you need to run the command npm run build. It will create the dist folder, that contains the production build files. Now you just need to upload the dist files on to the server.
Static Server:
To run the production build locally, the easiest way to handle this would be to install serve and let it handle the rest:
npm install -g serve
serve -s dist
You don’t necessarily need a static server in order to run a project in production. It works just as fine as integrated into an existing dynamic one.
Here’s a programmatic example using Node and Express: