How to use with Remix Run #143
Replies: 7 comments 1 reply
-
I think it's not possible to use Tamagui with Remix, at least not without significant effort. Tamagui uses webpack while Remix uses esbuild. Theoretically, you may run a separate process to run Tamagui compiler, like how Remix uses Tailwind in official examples. The ideal scenario would be to wait for Remix or Tamagui to work on integration. |
Beta Was this translation helpful? Give feedback.
-
If someone starts a PR, I'm happy to help that along. The webpack loader and babel plugin both share a base |
Beta Was this translation helpful? Give feedback.
-
Perhaps something along the lines of the remix vanilla-extract example will work?
|
Beta Was this translation helpful? Give feedback.
-
I am pretty sure the Remix team want to get CSS Modules and better vanilla extract support in, but they're taking their time to get it right. It would be worth keeping an eye on these discussions, as any progress on Vanilla Extract and CSS Modules integration in Remix would likely open up options for tamagui too |
Beta Was this translation helpful? Give feedback.
-
Hi, I'm curious if there's any development on this effort since the issues mentioned by @penx above have been resolved? |
Beta Was this translation helpful? Give feedback.
-
It looks like Remix now fully supports Vanilla Extract and CSS-in-JS in general, so it should be possible to support Tamagui? https://remix.run/docs/en/1.18.0/guides/styling#css-in-js-libraries |
Beta Was this translation helpful? Give feedback.
-
currently have a somewhat working version here: https://github.com/ryan0x44/remix-tamagui-new/commits/main more details about this on discord discussion here: https://discord.com/channels/909986013848412191/1078243378627616798/1131207088866070628 |
Beta Was this translation helpful? Give feedback.
-
I would like use this library within a Remix Run web, but can figure it how.
Any help would be appreciated.
Beta Was this translation helpful? Give feedback.
All reactions