I have a React app I\'ve been developing on my localhost. I want to copy it to a server into a subdirectory called vensa.
My webpack config file looks like this..
Add base in public/index.html. It helps to set path without issues.
make all css, js, images & all resource loading './assets/your resource.'
Only look if you are using history. add basename in history
const historyConfig = {
basename: 'your subdirectory'
};
const history = createBrowserHistory(historyConfig);