body {
font-family: Arial, sans-serif;
padding: 20px;
}
h1 {
color: #333;
font-size: 24px;
margin-bottom: 10px;
}
p {
color: #666;
font-size: 16px;
line-height: 1.5;
}
code {
font-family: Consolas, monospace;
background-color: #f4f4f4;
padding: 5px;
border-radius: 3px;
}
Tailwind CSS V4 For NextJS, Astro and Vite TODAY
Tailwind CSS is a popular utility-first CSS framework that enables developers to quickly build modern and responsive web designs. The latest version, Tailwind CSS V4, offers even more features and improvements for developers working with NextJS, Astro, and Vite. Let’s explore some of the key features of this update:
Optimized for NextJS
NextJS is a popular React framework for building server-side rendered and static websites. Tailwind CSS V4 is optimized for NextJS, making it easier than ever to integrate Tailwind CSS into your NextJS projects. With improved compatibility and seamless integration, developers can quickly set up Tailwind CSS in their NextJS projects and start building beautiful designs.
Support for Astro
Astro is a new static site generator that combines the best of static and dynamic web development. Tailwind CSS V4 now offers enhanced support for Astro, allowing developers to create dynamic web designs with ease. With Tailwind CSS V4, developers can take advantage of Astro’s capabilities while leveraging the power and flexibility of Tailwind’s utility classes.
Integration with Vite
Vite is a next-generation build tool that offers blazing fast development and production builds for modern web projects. With Tailwind CSS V4, developers can seamlessly integrate Tailwind CSS into their Vite projects, providing a smooth and efficient development experience. By combining the speed and performance of Vite with the utility-first approach of Tailwind CSS, developers can build high-quality web designs in record time.
Overall, Tailwind CSS V4 brings a host of new features and improvements for developers working with NextJS, Astro, and Vite. With enhanced compatibility, optimized performance, and seamless integration, Tailwind CSS V4 is the perfect choice for building modern and responsive web designs. Try it out today and see the difference it can make in your web development workflow!
For more information, visit the Tailwind CSS website.
Can you make video or give me source on Redux implementation in module federation with vite ? I am getting errors while implementing it?
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
Thanks master, I miss your videos!!
Thank you for the video! 🙏👏❤️
good
Astro ❤
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 😴
Tailwind V4 got super cool!! Great video!
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
Since Astro is build on top of vite you can use the vite plugin in your Astro config under vite.plugins property
I haven’t watched your content in a while, great as always 🎉
we don’t deserve this man
do angular too
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?
There was a slight visual regression with the colour selection circles when you fixed the initial config the first time:
https://youtube.com/clip/UgkxWSaIsfCsoK7uAN6O0vWUIA6xXiS9sdXE?feature=shared
Love you Jack
Does the tailwind vite plugin works with next js!?
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)
You can actually use the same Vite method for Astro projects
Thanks you. I couldn't find how to upgrade to Tailwindcss v4. Perfect! Once again… thanks.