Playing Next Lesson In
seconds

AdonisJS Quick Tip #23.0

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.

Created by
@tomgobich
Published

Join the Discussion 2 comments

Create a free account to join in on the discussion
  1. 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
    1. Responding to cubicalprayer712
      @tomgobich

      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