Answers for "tailwindcss with react js"

CSS
0

tailwind css in react

npx tailwindcss-cli@latest init
Posted by: Guest on August-19-2021
0

tailwind css in react

// tailwind.config.js
  module.exports = {
-   purge: [],
+   purge: ['./src/**/*.{js,jsx,ts,tsx}', './public/index.html'],
    darkMode: false, // or 'media' or 'class'
    theme: {
      extend: {},
    },
    variants: {
      extend: {},
    },
    plugins: [],
  }
Posted by: Guest on August-28-2021

Browse Popular Code Answers by Language