/tailwindcss-test2

TailwindCSS with PostCSS

Primary LanguageCSS

tailwindcss-test2

TailwindCSS with PostCSS https://www.youtube.com/watch?v=21HuwjmuS7A

  1. Create new package.json: npm init -y
  2. Install packages with NPM: npm install tailwindcss postcss-cli autoprefixer
  3. Create tailwind config file: npx tailwind init
  4. Create postCSS config file: postcss.config.js and add the required libraries (see file)
  5. Create input CSS file (see tailwind.css)
  6. Create a build script in package.json