0

I have an app created via Create React App. Inside the app in public directory is directory app-b with another SPA.

When navigates to URL / the main app renders.

When navigates to URL /app-b the second app renders.

However, when navigates to URL /app-b/some/path the main app renders with 404 obviously.

How to, and where configure Creat React App to skip main React router when requesting /app-b/* path?

Nurbol Alpysbayev
  • 19,522
  • 3
  • 54
  • 89
Wojciech Bednarski
  • 6,033
  • 9
  • 49
  • 73

0 Answers0