- add tailwind dependency to the
mix.exs
file:{:tailwind, "~> 0.16", runtime: Mix.env() == :dev}
- Configure tailwind in config.exs, where it will read, and where it will output the data:
config :tailwind, version: "3.1.4", default: [
args: ~w(
--config=tailwind.config.js