npm run build. It will create the
distfolder, that contains the production build files. Now you just need to upload the
distfiles on to the server.
distfiles in the public folder.
test.comthen you need to follow the steps given below:
.webpack.config.jsfile and search for
src>App.jsfile and set the
distlike following code:
.htaccessfile and set the roots for subdirectory: We have added the screenshot for the
.htaccessfile location and also the code of the file.