CodeSandbox Link: https://codesandbox.io/s/elegant-bardeen-ojdwp7
From your terminal:
npm run dev
This starts your app in development mode, rebuilding assets on file changes.
First, build your app for production:
npm run build
Then run the app in production mode:
npm start
or
# using pm2
pm2 start npm -- start
Now you'll need to pick a host to deploy it to.