How to create a component and service library for Ionic 2

I am trying to create a component and service library for Ionic 2 that will contain reusable components and services that we use often at our company. I have looked at guides for creating angular 2 libraries and got lost very quickly. There seems to be a lot of setup for the build process.

Is there a good guide or example I can use to accomplish this?

I do not care if the library is public because it will not contain any business logic.

Thanks,
Jason

Are you maybe looking for something like this?

1 Like

This is exactly what I am looking for! Thanks!

I used the repo that you linked and it works fine for basic components but if I use an ionic component in my template it does not render. Where can I get support for this?

Thanks,
Jason

Well, I was able to figure it out by importing the IonicModule.

2 Likes