smartive / stencil-nextjs-example

This project shows how we got Stencil Web Components working inside the Next.js app directory.
https://stencil-nextjs-example-app.vercel.app
ISC License
6 stars 4 forks source link

Stencil-react-ssr-output-target does not bring the dist files #275

Open gabrielleacuba opened 6 months ago

gabrielleacuba commented 6 months ago

Hi I'm trying to use this output stencil-react-ssr-output-target to study about how I can use stencil.js web components with next.js! But when I tried to generate output, the output generation did not come with these files (files in the root of dist), Can you help me? How can I make this work?

Screenshot 2024-05-07 at 11 27 58

dwirz commented 1 month ago

Hi @gabrielleacuba,

Just wanted to apologize for the delayed response. I was on a 4-month vacation and completely disconnected!

In the meantime Stencil has worked on @stencil/react-output-target and finally creates components that work seamlessly with Next.js. They use the DSD approach, which is supported in all major browsers. That's why I'm going to archive this project soon. 😇

Let me know if you have any questions or if there's anything else I can help you with.