Skip to content
项目

关于

速度极快的渐进式 Web 应用,占用空间小,依赖极少。

网站与应用开发

这些数字如何统计

可以做什么

  • Progressive Web App enabled with service workers
  • Offline capable with service workers
  • Universal JavaScript (isomorphic rendering)
  • Asset Versioning, long term caching, & cache busting for browser that do not support service workers via node-rev

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

preact-pwa

A Super fast progressive web app with a small footprint & minimal dependencies.

Features universal rendering, redux, state-driven routing, preact, & service workers. Crunched & optimized with rollup, buble, optimize-js, & purify-css.

Live version (zeit): https://preact-pwa-yfxiijbzit.now.sh/

bundle sizes & performance

Bundle Size:            28.63 KB, 9.64 KB Gzipped
Webpage test:           A, A, A
pagespeed:              100
lighthouse:             100

Getting Started

Prerequisites

Make sure that Node v7 is installed.

Make sure that yarn is installed.

Instructions

First, clone the repo

$ git clone https://github.com/ezekielchentnik/preact-pwa

Then, install all dependencies:

$ yarn

Finally, to run the project for development:

$ yarn dev

Or, to run the project for production:

$ yarn start

performance insights (note: incomplete)

manifest.json

Using 192x192 for minimum sized icon, omitting other sizes to reduce downloads for users reference

libraries

  • we can shave off ~10 KB, ~3kb Gzipped by pruning preact-redux & manually connecting

Features

License

MIT

探索相关项目

加载中…