-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PWA #284
Comments
Web app manifest (PWA Installation)可以将页面添加到设备首屏或者桌面。 Add to Home Screen/Desktop两步即可实现PWA
<link rel="manifest" href="Path to manifest.json"> 配置manifest文件动态manifest利用 <link rel="manifest" href="A get api to get manifest.json"> 安装提示浏览器自带了安装提示的方式(比如Chrome PC会在地址栏里展示个标记)。但默认提示的样式估计不满足产品需求(并且浏览器对Promotional相关字段支持程度不一样,这就需要自定义一个满足需求且样式和交互一致的安装提醒。 3步实现自定义安装提示
实际实现可能会复杂一些,可参考3rd库。 什么时候触发
|
PWA(Progressive Web App)
是什么?
A Progressive Web App (PWA) is a website that can be installed on your device and provide an app-like experience.
PWA只是个概念,目标是让web页面具有类似APP的体验。它是一系列技术方案的集合,你可以逐步采用这些技术方案,使得web站点渐进式的具备类似app能力。
一切都是为了改善web用户体验
能力/Features
其他能力可参考What PWA Can Do Today
兼容性
每种能力具有不同的兼容性。
参考
The text was updated successfully, but these errors were encountered: