EN
JavaScript / HTML - how can I run file on http://localhost?
1
answers
3
points
I'm working with web workers and I want to run my website on http://localhost.
How can I do it instead of being opened under a specified path like C:/example/path/index.html
?
My project structure:
1 answer
3
points
In Visual Studio Code, there's a Live Server extension.
1. You can go to Extensions
and search for "Live Server".
2. Install it, and then you can right-click your index.html
file to open it with Live Server.
Result:
0 comments
Add comment