Closed Britnell closed 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.
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!
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
/** @jsxImportSource @builder.io/qwik */
$(()=>...)
run dev
is about QRL[ERROR] Optimizer should replace all usages of $() with some special syntax. If you need to create a QRL manually, use inlinedQrl() instead.
run build
isObjects are not valid as a React child (found: object with keys {type, props, immutableProps, children, flags, key}). If you meant to render a collection of children, use an array instead.
stackblitz here if that helps https://stackblitz.com/~/github.com/Britnell/astro-gym