Answers for "adding tailwindcss to react app"

CSS
1

tailwind css in react

{
    // ...
    "scripts": {
-     "start": "react-scripts start",
-     "build": "react-scripts build",
-     "test": "react-scripts test",
+     "start": "craco start",
+     "build": "craco build",
+     "test": "craco test",
      "eject": "react-scripts eject"
    },
  }
Posted by: Guest on August-19-2021
2

how to setup tailwind for reactjs

npm install -D tailwindcss@npm:@tailwindcss/postcss7-compat @tailwindcss/postcss7-compat postcss@^7 autoprefixer@^9
Posted by: Guest on April-17-2021
0

tailwind css in react

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

Code answers related to "adding tailwindcss to react app"

Browse Popular Code Answers by Language