Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

tailwind config

npx tailwindcss init


//index.css
@tailwind base;
@tailwind components;
@tailwind utilities;

//tailwind.config.js
module.exports = {
  content: [
    "./src/**/*.{js,jsx,ts,tsx}",
  ],
  theme: {
    extend: {},
  },
  plugins: [],
}
Source by tailwindcss.com #
 
PREVIOUS NEXT
Tagged: #tailwind #config
ADD COMMENT
Topic
Name
9+4 =