Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

add tailwind to next

  // tailwind.config.js
  module.exports = {
-   purge: [],
+   purge: ['./pages/**/*.{js,ts,jsx,tsx}', './components/**/*.{js,ts,jsx,tsx}'],
    darkMode: false, // or 'media' or 'class'
    theme: {
      extend: {},
    },
    variants: {
      extend: {},
    },
    plugins: [],
  }
Source by tailwindcss.com #
 
PREVIOUS NEXT
Tagged: #add #tailwind
ADD COMMENT
Topic
Name
9+5 =