sandpack
sandpack copied to clipboard
Offline Capability
Implementing offline capability
Packages affected
- [ ] sandpack-client
- [x] sandpack-react
So I am building a coding environment (with tutorials regarding basic web development using HTML/CSS/JS) and uses Sandpack under the hood. I was able to self-host the preview for static file and my goal to make the app go offline and still uses the basic features such as accessing the tutorial content and the coding environment (editor, browser)
The idea that I tried
One thing that I tried to make that work is to self host and uses wildcard on my hosts file. But it's easy to configure it on my end as it is in developer environment. What about the users who will use the app? I also planning to go offline using next-pwa