I would think you have two options:
- Use a WordPress theme which just loads your React files
- Use an index.html which loads your React files
There should not be a lot of NGINX configuration needed. Just make sure index.html
comes before index.php
, and put the index.html
file in the web folder.
None of that is tested, but if you’re just kicking off JavaScript, no need to overthink it.