I'm facing an issue with a project that has the following layout:
project | -
public | -
-index.html
src | -
-index.js
The code I am using to import the file is as follows:
<script src="../src/index.js"></script>
However, for some reason it does not seem to be working. Can anyone offer any insights into why this might be happening?