These are chat archives for AngularClass/angular2-webpack-starter

Oct 2016
Oct 15 2016 03:26
@marinho thanks for your help, can you point to any example with similar config?
Marinho Brandão
Oct 15 2016 08:10

@johnespn there is a couple of examples over the web, this is one —

other —
other much bigger one —

Bear in mind that there’s nothing special about building a library of reusable components. It will be very similar to a standard Angular2 app. You just have to configure the NgModule to export all components, pipes, directives and services you want to reuse and ensure its package.json is as clean as possible to let the other project use it.

It probably won’t need either routes and entry components, as it will always be just used by another app.

have fun!