Quantcast
Channel: Active questions tagged config - Stack Overflow
Viewing all articles
Browse latest Browse all 5049

TailwindCSS does not work after installation

$
0
0

I have installed tailwindcss via npm (using postcss) and configured files as per installation guide. However, the tailwind css shows no effect and does not apply any style to the page. Codes of config files can be found below:

postcss.config.js

   module.exports = {      plugins: {        tailwindcss: { config: './tailwindcss-config.js' },        autoprefixer: {},      },    }

tailwind.config.js

  module.exports = {  content: ["./src/**/*.{html,js}"],  theme: {    extend: {},  },  plugins: [],}

globals.css

@tailwind base;@tailwind components;@tailwind utilities;

Viewing all articles
Browse latest Browse all 5049

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>