May 2018
Intermediate to advanced
470 pages
13h 54m
English
In order to add the bundled frontend code in the HTML view, we will update the template.js file to add the script file from the dist folder to the end of the <body> tag.
mern-skeleton/template.js:
...<body> <div id="root"></div> <script type="text/javascript" src="/dist/bundle.js"></script></body>
Read now
Unlock full access