There are ten pages in my create-react-app project,
<Route exact path={"/a"} component={A}/>
<Route exact path={"/b"} component={B}/>
...
What I want to do :
only building the APP once , and make :
https://.....com/a downloads only page A's content,
https://.....com/b downloads only page B's content.
How should I config the Nginx
(and maybe the package.json of the create-react-app project)?
Thank you so much.
------------- and here is my very basic solution, I can edit the codes ten times and build it ten times , then put them into different folders..