'VSCode doesnt pull the index.js when I load the index.html
I'm having an issue where when I open my index.html in the browser, it isnt loading my index.js.
If I use the developer tools, and look into sources, I find my index.js file has not loaded correctly. Has anyone else run into this issue?
I was having no problems past few weeks but must have entered something into my terminal that caused my files to longer travel together.
Please let me know if there's any additional info I can share. This problem is persisting through different directories so its a major issue. None of my documents are sending the index.js data with the index.html!
Thanks for your help, Freaking out coder
Solution 1:[1]
First of all, the editor has nothing to do with file loading in the browser.
Second, you probably have a typo in the file path and that's all. Maybe you moved a file and didn't update the path?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Konrad Linkowski |
