Tailwind CSS V4 For NextJS, Astro and Vite TODAY
2024 ж. 17 Мам.
13 777 Рет қаралды
Tailwind V4 alpha is out. It's 10X faster than 3 because of new Rust based zero configuration tooling. We know it works on Vite, let's check it out on NextJS, Astro, and ShadCN.
Article: tailwindcss.com/blog/tailwind...
💻 Code: github.com/jherr/tailwind-v4-...
👉 Upcoming NextJS course: pronextjs.dev
👉 Don't forget to subscribe to this channel for more updates: bit.ly/2E7drfJ
👉 Discord server signup: / discord
👉 VS Code theme and font? Night Wolf [black] and Operator Mono
👉 Terminal Theme and font? oh-my-posh with powerlevel10k_rainbow and SpaceMono NF
00:00 Introduction
00:59 Tailwind V4 In NextJS
03:28 Tailwind V4 in Vite
04:46 Built-in Container Queries
07:49 Tailwind V4 in Astro
09:34 Tailwind V4 With ShadCN
10:24 Outroduction
Be careful with container queries if using popovers or full screen modal dialogs. Make sure they’re rendered *outside* the container.
Thanks master, I miss your videos!!
Tailwind V4 got super cool!! Great video!
I haven’t watched your content in a while, great as always 🎉
Thanks you. I couldn't find how to upgrade to Tailwindcss v4. Perfect! Once again... thanks.
Thank you for the video! 🙏👏❤️
This is awesome!
Hi, Jack, can you share your terminal setup is that zsh?, looks awesome :)
Just about to init a project, nice timing..
Thank you for all your videos. They help us a lot in understanding what's going in the IT space. A request, can you please make few videos on how to make Micro Frontends using React & Next.js in 2024 ( I mean CSR MFs & SSR MFs)
I really appreciate your genuine love and excitement for all things code. Your videos are truly entertaining and informative. I would love for you to make a video sharing your thoughts on the current developments in ai such as Devin Ai etc and how you think it may impact our industry. As someone who also enjoys all things code I feel sad that it may be a dying art. The Internet is full of doomers so an informed opinion would be really useful
Astro ❤
Love you Jack
Jack, what font is that what you are using in your terminal and vscode? Looks very slick.
It was already super fast, now it's lightning speed.
But is it … blazing fast?
@@Quabbe2 I don't hear anyone complaining yet.
Since Astro is build on top of vite you can use the vite plugin in your Astro config under vite.plugins property
Cant wait for the full stable release to use it in all projects !
Can you make video or give me source on Redux implementation in module federation with vite ? I am getting errors while implementing it?
i don't really understand excitement about v4, it looks like nothing changed but breaking changes are introduced, is it possible to use v4 in a v3 config way?
Yes, AFAIK.
good
There was a slight visual regression with the colour selection circles when you fixed the initial config the first time: kzhead.infoUgkxWSaIsfCsoK7uAN6O0vWUIA6xXiS9sdXE?feature=shared
Yeah. After publication I noticed that as well. I've been wondering if the visual test tools in Chromatic would have caught that.
You can actually use the same Vite method for Astro projects
Very cool, but I always feel like building a front-end application these days is like buying a new car - by the time you deploy, it's obsolete 😴
do angular too
we don’t deserve this man
Does the tailwind vite plugin works with next js!?
New engine + parser written from scratch but still no support for variants grouping even though it’s heavily requested for over 2 years😢 /discussions/11701 /discussions/8337