in my folder structure I created client, imports and server folders. In clilent folder I have main.html, main.js and main.scss. In main.html I modified head and body like this:
<head> <meta charset="utf-8"> <title>My Title</title> <meta name="description" content="My content"> <meta name="viewport" content="user-scalable=no, initial-scale=1, minimal-ui, maximum-scale=1, minimum-scale=1" /> </head> <body> <div id="app"></div> </body>
but nothing appears in HTML.
I use React and the entire app works well. But I need to render components inside #app and in console I read that React doesn’t find tag with id=App.
If I inspect code with Chrome, both head and body remains the original one instead mine.
Any help? Thanks!