The generated index.html file, as shown here, references the bundle files, expecting these files to be in the same folder:
<html> <head> <title>MERNVR</title> <style>body { margin: 0 }</style> <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no"> </head> <body> <!-- Attachment point for your app --> <div id="container"></div> <script src="./client.bundle.js"></script> <script> // Initialize the React 360 application React360.init( 'index.bundle.js', document.getElementById('container'), { assetRoot: 'static_assets/', } ) </script> </body></html>
We need to update index.html to refer to the correct location of the client.bundle.js, index.bundle.js, and static_assets folders. ...