@reedrichards wrote:
I have just deployed a dummy stencil website to test the
lazy-imgcomponent from theionic-pwa-toolkiton firebase and it looks like the component doesn’t work. After this I noticed that this doesn’t work neither if I serve the website after a production build.
npm start= ok
npm run build+npm run serve= not okDo I do something wrong?
<p> <h1>Lazy img</h1> <lazy-img src={"/assets/img/room.jpg"} alt={"A room"}></lazy-img> </p>https://lab-stencil-webgl.firebaseapp.com
After debugging, looks like that
this.el.shadowRootafter a prod build isnullinlazy-img…any idea?UPDATE
It seems that I’m facing this issue https://github.com/ionic-team/stencil/issues/419
Posts: 1
Participants: 1