Hi, Mohammad,

For now, I'm just using a RawMarkup tiddler, as in the attachment, to load 
the service-worker.js served in /service-worker.js 

So you may have to serve your HTML wiki along with service-worker.js

I think it is very easy to use, if you are using a static server (for 
example gh-page, or now.sh ) to serve your wiki. (I'm using now.sh to auto 
bundle NodeJS wiki to HTML wiki)

PWA is progressive, won't hurt any basic function, and it is getting widely 
adapted these days.
I'll do more experiment on it, maybe one day I will open a PR, letting 
service worker to be build into the main tiddlywiki.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywikidev/f509262f-9b58-44b7-93f8-274c18d097c7%40googlegroups.com.

Attachment: Custom HTML Header_Register ServiceWorker.tid
Description: Binary data

Reply via email to