Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

Setup Tailwind CSS in react-native or react

// tailwind.config.js
module.exports = {
- content: [],
+ content: ["./App.{js,jsx,ts,tsx}", "./src/**/*.{js,jsx,ts,tsx}"],
  theme: {
    extend: {},
  },
  plugins: [],
}
Source by tailwindcss-react-native.vercel.app #
 
PREVIOUS NEXT
Tagged: #Setup #Tailwind #CSS #react
ADD COMMENT
Topic
Name
6+8 =