QwikDev / astro

Qwik + Astro integration
216 stars 13 forks source link

Qwik setup failing next to react #64

Closed Britnell closed 8 months ago

Britnell commented 8 months ago

hey, this is qwik in astro alongside react too, and vercel. the most basic components are working any more, so probably problem is with config / compiler setup

stackblitz here if that helps https://stackblitz.com/~/github.com/Britnell/astro-gym

thejackshelton commented 8 months ago

Hey @Britnell! Looking over this real quick as I'm pushing stuff out the door with Qwik UI. It looks like you need to change the astro config to:

    qwikdev({
      include: ["**/qwik/*"],
    }),

It does not seem to be finding the correct file path for vite to process the qwik files.

Britnell commented 8 months ago

ahh you're right, that works! it didn't recognise the path somehow, would be nice to have more specific / relative paths. thank you very much!