Sign Up to Track Progress

How to Install & Configure TailwindCSS 4 in AdonisJS 6 using Vite

In this lesson, we'll learn how to get TailwindCSS 4 installed and configured within a new AdonisJS 6 project using TailwindCSS' Vite plugin. We'll then discuss some of the key changes around configuring Tailwind within your project.

Published
Mar 28
Duration
9m 50s

Developer & dog lover. I teach AdonisJS, a full-featured Node.js framework, at Adocasts where I publish weekly lessons. Professionally, I work with JavaScript, .NET, and SQL Server.

Adocasts

Burlington, KY

Get the Code

Download or explore the source code for this lesson on GitHub

Repository

Join The Discussion! (2 Comments)

Please sign in or sign up for free to join in on the dicussion.

  1. Commented 12 days ago

    Thanks Tom, I was working on a project that was initialized with a starter kit with inertia. Everything is the same except the file where we have to remove the pre-configured tailwindcss is resources/views/inertia_layout.edge

    1

    Please sign in or sign up for free to reply

    1. Commented 10 days ago

      Hi cubicalprayer712! Yes, Inertia's structure is a little different from the web starter kit including the name/location of it's base EdgeJS page! Happy to hear you were able to find it!

      0

      Please sign in or sign up for free to reply