Open angel-luis opened 1 year ago
Since NativeWind V4 has been released, it would be nice to get an update of the monorepo
with-tailwind
with the last version! Thank you in advance.
Try this @angel-luis : https://github.com/mikevocalz/solito-nativewind-v4
PR is welcome
Since NativeWind V4 has been released, it would be nice to get an update of the monorepo
with-tailwind
with the last version! Thank you in advance.Try this @angel-luis : https://github.com/mikevocalz/solito-nativewind-v4
@mikevocalz That's cool! Any clue how I can solve this? It also appears during build. I checked https://www.nativewind.dev/v4/getting-started/typescript but it's already included in your branch.
I think that would indicate you’re missing some sort of declaration file. You may need to mention it in your tsconfig’s includes array.
app-env.d.ts is already included in https://github.com/mikevocalz/solito-nativewind-v4/blob/main/apps/next/tsconfig.json#L19 which containes nativewind/types. Not sure what I am missing.
@rpweb @angel-luis https://github.com/marklawlor/nativewind/issues/600#issuecomment-1804741121 The v4 is an accidental npm release. I guess lots of bugs being encountered. So tread well.
upgrade to "nativewind": "4.0.16",
solved it for me in pages router, but not in app router. https://github.com/marklawlor/nativewind/issues/673
@rpweb I've been testing the nativewind v4 with solito. There are many random things happening. Raised few bugs. The v4 is currently far from stable in my view.
@rpweb I've been testing the nativewind v4 with solito. There are many random things happening. Raised few bugs. The v4 is currently far from stable in my view.
@xinha-sh With app router? Could you share how you set it up? I am aware of those bugs, but I would like to play around with it asap. Still facing this issue: https://github.com/marklawlor/nativewind/issues/673
PR is welcome
would it be better to update the existing starter (with-tailwind
) or create a new one (something like with-nativewind-v4
) ? @nandorojo
Anyone have NextJS App Directory working with Nativewind v4?
Anyone have NextJS App Directory working with Nativewind v4?
I tried, but I was having to add use client
to the root layout.tsx
file for some reason? There were some bugs and I planned to revisit it.
I got it working by just following the directions and then adding /** @jsxImportSource react */
to the top of my server components like layout.tsx
and page.tsx
. Also I updated to next@npm:14.1.0 [d369e]
but not sure if that was required.
I have just published a version with NextJS app router and Nativewind v4
Since NativeWind V4 has been released, it would be nice to get an update of the monorepo
with-tailwind
with the last version! Thank you in advance.