Replies: 2 comments
-
Same problem, Did you find any solution? |
Beta Was this translation helpful? Give feedback.
0 replies
-
That's the Module Federation Conept: You can find an example here: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have multiple vite react apps and I want to combine in a single app:
home: http://localhost:3000
app1: http://localhost:3001
app2: http://localhost:3002
For routing inside the apps I'm using react-router v6.4
I want the following thing:
http://localhost
to be redirected tohome
apphttp://localhost/app1 to be redirected to
http://localhost:3001` (app1)http://localhost/app2
to be redirected tohttp://localhost:3002
(app2)For that I configured a nginx reverse proxy like that but didn t work
All the request goes to the
location \
. I tried also to pass the location like thislocation = \ {...}
but still don't work.Is somebody here that faced the problem?
Beta Was this translation helpful? Give feedback.
All reactions