I have graphql API on Yii2.
Also, I working on a user interface written on ReactJS. I building bundle.js with all react files. The plan is to create SPA with yii2 API.
Where and how to add bundle.js in the yii2 framework? How to create an index page with such HTML?
<body>
<div id="root"></div>
</body>
I want that react generate all content.