洞察探索open banking如何通过小程序容器技术助力金融企业实现数据安全和数字化转型
636
2022-10-22
使用Workbox 2.0的Angular渐进式Web应用程序
A simple app for the PWA Workshop
Prerequisites
Latest stable versions of node, npm installed.Static web server with SPA support:
serve. Recommended and pre-configured.superstatic. Use this as a fallback option.
Installation
Clone the repo
git clone git@github.com:webmaxru/pwatter.git
Make sure you are on "workbox" branch:
git checkout workbox
Install dependencies:
npm install
Install "serve" dev webserver:
npm install serve -g
Run the server inside "pwatter" directory:
serve
Install Workbox CLI:
npm install workbox-cli --global
Open the browser:
http://localhost:5000/
You should see the page with PWAtter header.
We are ready to start the workshop! Follow the trainer instructions.
If for some reasons global npm package installation is not an option for you, you can install and run "serve" locally:
npm install servenode_modules/.bin/serve
版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。
发表评论
暂时没有评论,来抢沙发吧~