hi guys,
I used modules in my project, but when I run it in the browser, there appear errors:
GET http://127.0.0.1:5500/v2.3/classes/Person net::ERR_ABORTED 404 (Not Found)
GET http://127.0.0.1:5500/v2.3/classes/UI net::ERR_ABORTED 404 (Not Found)
There is some error in files path? I mention that index.html is in the same folder, like main.js that contains imported modules Person and UI.
main.js
import Person from './classes/Person';
import UI from './classes/UI';
index.html
<script type = "module" src="main.js"></script>
<script src="popup/popup.js"></script>
The file structure