egoist / docute

📚 Effortless documentation, done right.
https://docute.egoist.dev
MIT License
3.8k stars 427 forks source link

Support progressive web app #37

Open egoist opened 7 years ago

egoist commented 7 years ago

[draft] Adding progressive web app support:

self.$config = {
  pwa: true
}

And then put sw.js (serviceworker) to the path of your docs.

imsus commented 7 years ago

Any serviceworker file sample for docute?

egoist commented 7 years ago

@imsus currently no, basically you need to cache docute.js/css and markdown files.