Skip to content

Latest commit

 

History

History
20 lines (16 loc) · 704 Bytes

常见模块解释.md

File metadata and controls

20 lines (16 loc) · 704 Bytes

1、ServiceWorker

在生产环境中为用户在本地创建一个service worker 来缓存资源到本地,提升应用的访问速度

https://www.jianshu.com/p/eb026d11517a

2、%PUBLIC_URL%

Notice the use of %PUBLIC_URL% in the tags above. It will be replaced with the URL of the public folder during the build. Only files inside the public folder can be referenced from the HTML. Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will work correctly both with client-side routing and a non-root public URL. Learn how to configure a non-root public URL by running npm run build.

3、manifest.json

https://web.dev/add-manifest/