0

Here is the folder structure -enter image description here

I tried to follow the official documentation on how to install the Tailwiind css.

module.exports = {
plugins: {
 tailwindcss: {},
 autoprefixer: {},
},
}
/** @type {import('tailwindcss').Config} */
module.exports = {
  content: ["./src/**/*.{html,js}"],
  theme: {
    extend: {},
  },
  plugins: [],
}
--index.css--
@tailwind base;
@tailwind components;
@tailwind utilities;

body {
  margin: 0;
  padding: 0;
}
itstime
  • 1
  • 2
  • What were you expecting that doesn't work right now? Please provide more information and code of what you have tried so far. – Gabe Mar 13 '23 at 16:36
  • I am trying to style using Tailwindcss. I had a react-django working app and I installed the tailwindcss by following the official documentation after I make sure the reac-django app was working. – itstime Mar 13 '23 at 16:54
  • You might try to add what is in your `index.css` to your `App.css`. Although it is a guessing based in the info you provided. Do you get errors? – Gabe Mar 13 '23 at 19:09

0 Answers0