npm start
访问下面网址,注意因安全限制,只能打开localhost或者https的网站
http://localhost:8080/
这个时候,我们第一个pwa的项目也就出来了,就是一个页面。我们启动node服务,打开页面,可以将其添加到桌面上。而且这个时候,当我们停掉node服务后,刷新页面,页面就是通过缓存打开的。这个时候假如用chrome的ctrl+F5
刷新页面,就会发现页面离线了,这个时候因为我们已经将缓存删除了。
pwa的第一个demo
License: MIT License
npm start
访问下面网址,注意因安全限制,只能打开localhost或者https的网站
http://localhost:8080/
这个时候,我们第一个pwa的项目也就出来了,就是一个页面。我们启动node服务,打开页面,可以将其添加到桌面上。而且这个时候,当我们停掉node服务后,刷新页面,页面就是通过缓存打开的。这个时候假如用chrome的ctrl+F5
刷新页面,就会发现页面离线了,这个时候因为我们已经将缓存删除了。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.