Angular Tabs - Demo Library
WARNING: This is not a production ready library, but rather just an example to showcase how to release custom Angular libraries.
This repo is meant to demonstrate the creation of an Angular library, following the Angular Package Format.
So what's in this repo?
- setup with ng-packagr (master) - the
masterbranch shows the suggested approach, namely to setup your library with ng-packagr.
- NX workspace setup (with-demoproj-setup) - Setup that shows how you can use Nrwl/NX to setup a nice workspace containing a library project and demo it straight away.
- Building libraries with Bazel (bazel) - This branch shows how to use Bazel to generate an Angular package.
- manual setup (manual-setup) - the
manual-setupbranch on the other hand, demonstrates how to assemble the different tooling in order to get a manual setup with simple npm scripts that are being executed one after the other. This allows for full flexibility and serves for educational purposes, to learn how things are done behind the scenes. This is a slightly improved version of the talk given at NG-BE (see link below).
Angular Package Format v5.0, design document at Google Docs
Packaging Angular Libraries (Jan 2018) - Jason Aden at Angular Mountain View Meetup (45min talk)
Packaging Angular (April 2017)- Jason Aden at ng-conf 2017 (28min talk)
Open an issue here on the repo or simply reach out to me on Twitter