I am trying to configure a multi-page setup with REACT using router-dom. I have the code set up and everything runs fine. There are no errors. However, the actual app does not show any information at all. All the code is here: https://github.com/greglamm/PROJ_NEW I would appreciate if anybody could look at the app and see if you can figure out what is making the app not show anything on the website page. All code is in the repository. Please help if you can!!
NOTE: ALL main information is in the /mern-data/client/src directory.
mern-data/client/src/App.js
should be a component to get rendered onmern-data/client/src/index.js
, NOT a function that renders something. try changingconst App
function like this.Also, check the
package.json
file dependencies... where isreact-router-dom
?Anyways, if none of those fix your problem, may you share the console logs for more details? cause it seems there are some more errors or weird things over there