This question has been asked before but I did not solve my problem and I getting some weird functionality.
If I put my index.html file in the static directory like s
If you are facing this issue and everything looks good, try invalidate cache/restart from your IDE. This will resolve the issue in most of the cases.