I have an issue that I have blank page my react app contains multiple sites and I using browse router and when the site is deployed I see blank page
Browse router:
<Router>
<Route path="/DAPP-identity-management" element={<Main />} />
<Route
path="/DAPP-identity-management/authorize"
element={<Authorize />}
/>
<Route path="/DAPP-identity-management/info" element={<Info />} />
</Router>
Home page setup:
"homepage": "https://Xardesso.github.io/DAPP-identity-management/",
Scripts:
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject",
"predeploy": "npm run build",
"deploy": "gh-pages -d build"
},
Link to page:https://xardesso.github.io/DAPP-identity-management/
I tried to add base name but this don't help.And also changed browseRouter to HashRouter doesn't help
EDIT:This doesn't help versions "react": "^18.2.0" "react-router-dom": "^6.13.0" And also I found error in homepage line "homepage": "https://Xardesso.github.io/DAPP-identity-management",Error:
`Problems loading reference 'vscode://schemas/settings/configurationDefaults': Unable to load schema from 'vscode://schemas/settings/configurationDefaults': cannot open vscode://schemas/settings/configurationDefaults. Detail: Unable to resolve text model content for resource vscode://schemas/settings/configurationDefaults.`