简体   繁体   English

如何使 web 应用程序可安装,它是 PWA 吗?

[英]How to make a web app installable, is it a PWA?

This demo has an "Install" feature in the menu options bar.该演示在菜单选项栏中具有“安装”功能。 Does anyone know how this can be set up?有谁知道如何设置?

https://googlechromelabs.github.io/text-editor/ https://googlechromelabs.github.io/text-editor/

At the bottom is a link to github src底部是指向 github src 的链接

You'll need to use a web manifest file and if you want local file caching, a service worker.您需要使用 web 清单文件,如果您想要本地文件缓存,则需要一个服务工作者。

Here's a MDN tutorial on making a PWA installable:这是关于使 PWA 可安装的 MDN 教程:

https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps/Installable_PWAs https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps/Installable_PWAs

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM