- Create new working folder
/tailwind/
. Open in terminal - run
npm init -y
- run
npm install tailwindcss @tailwindcss/custom-forms postcss-cli autoprefixer postcss-nested cssnano
- run
npx tailwind init
- Edit
tailwind.config.js
and replaceplugins: [],
with:
plugins: [