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

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

@johnespn there is a couple of examples over the web, this is one — https://github.com/jkuri/ng2-datepicker

other — https://github.com/ocombe/ng2-translate
other much bigger one — https://github.com/angular/material2

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!