Skip to content

default to tailwindcss@4 #474

@prabirshrestha

Description

@prabirshrestha

Would be great if it would default to tailwindcss v4.

pnpm add tailwindcss@4
pnpm add -D @tailwindcss/postcss

then update postcss.config.js with the following.

export default {
  plugins: {
    '@tailwindcss/postcss': {},
    autoprefixer: {},
  },
}

update app/base.css with the following:

@import "tailwindcss";

.test {
  background-color: red;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions