April 2020
Intermediate to advanced
716 pages
18h 55m
English
With consideration to the folder structure in the existing MERN skeleton application, we will add the static_assets folder and the bundle files from the React 360 production files to the dist/ folder. This will keep our MERN code organized with all the bundles in the same location. The index.html file will be placed in a new folder, named vr in the server folder, as highlighted in the following folder structure:
-- ... -- client/-- dist/ --- static_assets/ --- ... --- client.bundle.js --- index.bundle.js-- ...-- server/ --- ... --- vr/ ---- index.html-- ...
This will bring the React 360 code over to the MERN application. However, to make it functional, we need to update the file references in the index.html ...
Read now
Unlock full access