stb-cli
Start building a stb Progressive Web App in seconds 🔥
Features
- 100/100 Lighthouse score, right out of the box
- Fully automatic code splitting for routes
- [hot update] 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
- In just 4.5kb you get a productive environment:
- [stb-react]
- [stb-redux]
- 1.5kb of conditionally-loaded polyfills for [fetch] & [Promise]
Installation
$ npm install -g stb-cli
Usage
$ preact create <template-name> <project-name>
Example:
$ preact create default my-project
-neat of template:
$ preact create neat my-project