Update preset in tailwind.config.js to V4

Sorry if this is not the right place, but wasn't sure where else to ask.

In v3, tailwind.config.js had the Filament preset loaded

const preset = require('./vendor/filament/filament/tailwind.config.preset')

module.exports = {
    presets: [preset],
    ...
}

Since in v4 this doesn't exist anymore, can we just remove that part from the config?
Solution
You don't need a config file anymore for Tailwind V4. It's configured inside the CSS file
Was this page helpful?