April 2020
Intermediate to advanced
716 pages
18h 55m
English
React 360 tools provide a script to bundle all of the React 360 application code into a few files that we can just place on the MERN web server and serve as content at a specified route. To create the bundled files, we can run the following command in the React 360 project directory:
yarn bundle
This generates compiled versions of the React 360 application files in a folder called build. The compiled bundle files are client.bundle.js and index.bundle.js. These two files, in addition to the index.html file and the static-assets/ folder, make up the production version of the whole React 360 application that was developed. The final production code will be in the following folder and files:
-- static_assets/-- index.html ...
Read now
Unlock full access