You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
App id is also added to manifest.json The routing logic <Routes> <Route path='/' element={<div>Main</div>}/> <Route path='detail' element={<div>Detail</div>}/> </Routes>
Initially the page is loading Main div . But when I hit the detail route, it is saying File not found
The text was updated successfully, but these errors were encountered:
I have deployed the react ui5 application in SAP BTP. When I introduce routing using react-router-dom it is saying File Not found
approuter->xs-app.json
{ "welcomeFile": "/salesorderapp" }
public->xs-app.json
{ "welcomeFile": "/index.html", "authenticationMethod": "route", "logout": { "logoutEndpoint": "/do/logout" }, "routes": [ { "source": "^(.*)$", "target": "$1", "service": "html5-apps-repo-rt", "authenticationType": "xsuaa" } ] }
App id is also added to manifest.json
The routing logic
<Routes> <Route path='/' element={<div>Main</div>}/> <Route path='detail' element={<div>Detail</div>}/> </Routes>
Initially the page is loading Main div . But when I hit the detail route, it is saying File not found
The text was updated successfully, but these errors were encountered: