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>