Preact starter template with light CSS framework, FontAwesome SVG, light state management (unistore). Update test
- High Lighthouse score,
- Fully automatic code splitting for routes
- Transparently code-split any component with an [
async!
] prefix - Auto-generated [Service Workers] for offline caching powered by [sw-precache]
- [PRPL] pattern support for efficient loading
- Zero-configuration pre-rendering / server-side rendering hydration
- Support for CSS Modules, LESS, Sass, Stylus; with Autoprefixer
- Monitor your bundle/chunk sizes with built-in tracking
- Automatic app mounting, debug helpers & Hot Module Replacement
- Light CSS Framework:
- blazeui
- spectre (git checkout spectre)
Clone the repo, cd to directory then npm install
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
# test the production build locally
npm run serve
# run tests with jest and preact-render-spy
npm run test