Files
docmd-io--docmd/packages/plugins/pwa/README.md
T
wehub-resource-sync 6db8fca185
docmd CI verification / verify (push) Failing after 0s
chore: import upstream snapshot with attribution
2026-07-13 12:31:55 +08:00

26 lines
621 B
Markdown

# @docmd/plugin-pwa
Makes your docmd site installable and offline-capable - generates a web manifest and service worker with intelligent caching and automatic cache busting on every build. Bundled with `@docmd/core`.
```js
// docmd.config.js - all options are optional
module.exports = {
plugins: {
pwa: {
themeColor: '#0097ff',
bgColor: '#ffffff',
logo: 'assets/images/logo.png'
}
}
};
```
Part of the **[docmd](https://github.com/docmd-io/docmd)** documentation engine.
## Documentation
See **[docs.docmd.io](https://docs.docmd.io)** for full usage and API reference.
## License
MIT