@reedrichards wrote:
I have just deployed a dummy stencil website to test the
lazy-img
component from theionic-pwa-toolkit
on 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.shadowRoot
after a prod build isnull
inlazy-img
…any idea?UPDATE
It seems that I’m facing this issue https://github.com/ionic-team/stencil/issues/419
Posts: 1
Participants: 1