# How to publish Ionic 4 components on NPM?

**URL:** <https://forum.ionicframework.com/t/how-to-publish-ionic-4-components-on-npm/165630>\
**Category:** Ionic Framework\
**Created:** [June 6, 2019, 1:32pm UTC](https://forum.ionicframework.com/t/how-to-publish-ionic-4-components-on-npm/165630 "2019-06-06T13:32:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gaudio83](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/gaudio83/32/125199_2.png) [@Gaudio83](https://forum.ionicframework.com/u/Gaudio83)\
**Post date:** [June 6, 2019, 1:32pm UTC](https://forum.ionicframework.com/t/how-to-publish-ionic-4-components-on-npm/165630/1 "2019-06-06T13:32:26Z")

</div>

Good evening,

I have created some custom components in my Ionic 4 app and now I would like to publish them on a private NPM to share them for other Mobile apps and Web apps so I can reuse them.

Is there a way to publish only my “components” folder to NPM?

I also took a look to Stencil but I see that I need to create components in vanilla Javascript, instead to use Ionic 4.

Thanks in advance for your help and for your suggestions!

Regards,  
Andrea
