-
-
Notifications
You must be signed in to change notification settings - Fork 10.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: route specific components are not rendering if the app is configured to run at different base path using a webmanifest file #11333
Comments
What are the contents of react-router/packages/router/history.ts Line 367 in a04ae6b
|
@timdorr Seems like the path with
|
@timdorr I just changed the path value to
The error further points to the below code snippet in the bundle:
|
That's an error caused by My suspicion is that you need to find the right combination of basename and |
@timdorr Totally agree. We're using a simple server for testing. That might be causing the issue. I would like to use the |
What version of React Router are you using?
6
Steps to Reproduce
Hi Team,
Below is my react router config. But when I visit the
/dist/index
the components are not rendering. The server is configured to serve atdist/index.html
through a webmanifest file. However the app isn't rendering. I'm not able to replicate this in codesandbox as the app is running on this experimental web based OS called nutria ( https://github.com/capyloon/nutria )Any idea on the respective components doesn't render for the routes?
router config:
webmanifest file:
Expected Behavior
The route specific components should render.
Actual Behavior
The bundle script is loading. But the route specific components are not rendering.
The text was updated successfully, but these errors were encountered: