-1
Use a web server (can be a service on your computer, does not need to be remote). The access by the file:/// protocol you are using has a number of restrictions. You need to access via http or https, and for that you need to use a web server.
-1
0
Use a web server (can be a service on your computer, does not need to be remote). The access by the file:/// protocol you are using has a number of restrictions. You need to access via http or https, and for that you need to use a web server.
and how I do it?
Since you already use webpack, perhaps the simplest way is this: https://webpack.js.org/configuration/dev-server/
Browser other questions tagged javascript
You are not signed in. Login or sign up in order to post.
The error says file not found, so the problem must be in the path, the most common is to forget that (./) is in the current directory, but the correct one would be a previous directory (../).
– Sevila