# \[SOLVED\] Include Stencil component in Ionic v4/Angular v6

**URL:** <https://forum.ionicframework.com/t/solved-include-stencil-component-in-ionic-v4-angular-v6/137419>\
**Category:** Stencil\
**Created:** [August 5, 2018, 12:59pm UTC](https://forum.ionicframework.com/t/solved-include-stencil-component-in-ionic-v4-angular-v6/137419 "2018-08-05T12:59:50Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![reedrichards](https://avatars.discourse-cdn.com/v4/letter/r/34f0e0/32.png) [@reedrichards](https://forum.ionicframework.com/u/reedrichards)\
**Post date:** [August 5, 2018, 12:59pm UTC](https://forum.ionicframework.com/t/solved-include-stencil-component-in-ionic-v4-angular-v6/137419/1 "2018-08-05T12:59:50Z")

</div>

Ok before I spend time for nothing…

1. To bundle a Stencil lib/component in an Ionic v4/ Angular 6, should I modify `angular.json` in order to include the component with the `assets` category or is there a better way?

2. Should I still set `CUSTOM_ELEMENTS_SCHEMA` as schema where I use the component?

---

<div class="post-metadata">

**Author:** ![reedrichards](https://avatars.discourse-cdn.com/v4/letter/r/34f0e0/32.png) [@reedrichards](https://forum.ionicframework.com/u/reedrichards)\
**Post date:** [August 5, 2018, 1:58pm UTC](https://forum.ionicframework.com/t/solved-include-stencil-component-in-ionic-v4-angular-v6/137419/2 "2018-08-05T13:58:03Z")

</div>

So

1. Probably no according the doc. [https://stenciljs.com/docs/framework-integration/](https://stenciljs.com/docs/framework-integration/)

Still so far unable to make it…

1. According doc, yes

---

<div class="post-metadata">

**Author:** ![reedrichards](https://avatars.discourse-cdn.com/v4/letter/r/34f0e0/32.png) [@reedrichards](https://forum.ionicframework.com/u/reedrichards)\
**Post date:** [August 31, 2018, 6:44am UTC](https://forum.ionicframework.com/t/solved-include-stencil-component-in-ionic-v4-angular-v6/137419/3 "2018-08-31T06:44:07Z")

</div>

I could close this, I have updated my libs to be compatible with Ionic v4. Also documented the way to include them in such an app in their respective README

> **[fluster/web-photo-filter](https://github.com/fluster/web-photo-filter)**
>
> A Web Component to apply Instagram-like WebGL filters to photos - fluster/web-photo-filter

> **[fluster/web-social-share](https://github.com/fluster/web-social-share)**
>
> A Web Component to share urls and content on social networks - fluster/web-social-share

---

<div class="post-metadata">

**Author:** ![serkon](https://avatars.discourse-cdn.com/v4/letter/s/839c29/32.png) [@serkon](https://forum.ionicframework.com/u/serkon)\
**Post date:** [February 17, 2019, 10:43am UTC](https://forum.ionicframework.com/t/solved-include-stencil-component-in-ionic-v4-angular-v6/137419/4 "2019-02-17T10:43:33Z")

</div>

i couldnt understand the solution. Could you explain me what we made to resolve this problem. I have same issue with ionic v4. I want to put a breakpoint to IF statatements but cant do it.

 ![38](https://global.discourse-cdn.com/ionicframework/original/3X/7/3/73d9318c4d8df74b4537bd6fa6a03ceece8348aa.png)

But i can put inside of if statement

---

<div class="post-metadata">

**Author:** ![mhartington](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/mhartington/32/137757_2.png) [@mhartington](https://forum.ionicframework.com/u/mhartington)\
**Post date:** [July 19, 2021, 9:26pm UTC](https://forum.ionicframework.com/t/solved-include-stencil-component-in-ionic-v4-angular-v6/137419/5 "2021-07-19T21:26:07Z")

</div>

Closed on July 19, 2021, 9:26pm UTC


