Tailwind CSS Installation Help

Hi!

I am installing Tailwind CSS and on the 2nd step on the installation docs I don’t get it that well at content, like what am I meant to put there when my explorer looks like this?
image

Thanks!

You build your html and then tailwind exports the css.

For the second part you need to head to your tailwind.config.js and set the content.

No I mean like, I don’t know what to write at the content bit when my explorer looks like that.

I would reccommend learning about using the terminal before using tailwindscss.

For the content you need to edit the tailwind.config.js file:

/** @type {import('tailwindcss').Config} */
module.exports = {
  content: ["./src/**/*.{html,js}"],
  theme: {
    extend: {},
  },
  plugins: [],
}

This topic was automatically closed after 7 days. New replies are no longer allowed.