docs(pwa): fix typo

This commit is contained in:
qingwei.li 2017-02-21 23:00:22 +08:00
commit 5cab56cc92
2 changed files with 2 additions and 2 deletions

View file

@ -3,7 +3,7 @@
[Progressive Web Apps](https://developers.google.com/web/progressive-web-apps/)(PWA) are experiences that combine the best of the web and the best of apps. we can enhance our website with service workers to work **offline** or on low-quality networks.
It is also very easy to use it.
## Create serverWorker
## Create serviceWorker
Create a sw.js file in your documents root directory and copy this code.
*sw.js*

View file

@ -3,7 +3,7 @@
[Progressive Web Apps](https://developers.google.com/web/progressive-web-apps/)(PWA) 是一项融合 Web 和 Native 应用各项优点的解决方案。我们可以利用其支持离线功能的特点,让我们的网站可以在信号差或者离线状态下正常运行。
要使用它也非常容易。
## 创建 serverWorker
## 创建 serviceWorker
这里已经整理好了一份代码,你只需要在网站根目录下创建一个 `sw.js` 文件,并张贴下面的代码。
*sw.js*