Angular Material Boilerplate
1 min read
angular, redux, javascript
Written in 2016. Tools, APIs and prices may have changed since.
Lab note What I wrote down while learning this by building with it. Short by design; the code is in pfeilbr/ng-material-boilerplate.
Boilerplate template with the following baked in
- Babel - es6
- Browserify - bundle
- Watchify - re-bundle on change for dev
- live-server - livereload for dev
- Angular Material - UI
- Redux - state container
- ng-redux - Angular bindings for Redux
- concurrently - run commands concurrently
Install/Setup
$ git clone https://github.com/pfeilbr/ng-material-boilerplate
$ cd ng-material-boilerplate
$ npm install
$ npm install watchify -g
$ npm install live-server -g
Develop with Livereload
$ npm run dev
rebuilds on file change and livereloads in browser
Build
$ npm run build