Skip to content

preact pwa starter added lightweight css framework, and lightweight state management

Notifications You must be signed in to change notification settings

azulkipli/preactstarter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Preact PWA Starter

Preact starter template with light CSS framework, FontAwesome SVG, light state management (unistore). Update test

Features

  • 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)

Installation

Clone the repo, cd to directory then npm install

CLI Commands

# 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

About

preact pwa starter added lightweight css framework, and lightweight state management

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published