Would you describe how you implemented that?
A couple of hours ago I posted a question on this forum, whether it is possible to develope three.js displays while retaining my existing workflow using XAMPP als localhost webserver.
What you describe is what I am looking for: a self-sufficient development environment, not requiring internet connnection.