Answers for "next js tailwind"

1

next js tailwind

npx create-next-app -e with-tailwindcss my-project
cd my-project
Posted by: Guest on June-19-2021
0

next js tailwind

# If you're on Next.js v10 or newer
npm install -D tailwindcss@latest postcss@latest autoprefixer@latest

# If you're on Next.js v9 or older
npm install -D tailwindcss@npm:@tailwindcss/postcss7-compat postcss@^7 autoprefixer@^9
Posted by: Guest on August-28-2021
0

next js tailwind

npx tailwindcss init -p
Posted by: Guest on August-28-2021
0

next js tailwind

// tailwind.config.js
module.exports = {
  purge: [],
  darkMode: false, // or 'media' or 'class'
  theme: {
    extend: {},
  },
  variants: {
    extend: {},
  },
  plugins: [],
}
Posted by: Guest on August-28-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language