« Tailwind CSS » : différence entre les versions

De Banane Atomic
Aller à la navigationAller à la recherche
Ligne 5 : Ligne 5 :
# from the root of your blazor project
# from the root of your blazor project
npx tailwindcss init -p
npx tailwindcss init -p
# it will create the files tailwind.config.js and postcss.config.js
</kode>
</kode>



Version du 9 janvier 2025 à 18:45

Integration with Blazor

Installation

Ps.svg
# from the root of your blazor project
npx tailwindcss init -p
# it will create the files tailwind.config.js and postcss.config.js
tailwind.config.js
/** @type {import('tailwindcss').Config} */
module.exports = {
  content: [],
  theme: {
    extend: {},
  },
  plugins: [],
}
postcss.config.js
module.exports = {
  plugins: {
    tailwindcss: {},
    autoprefixer: {},
  },
}