Performance: Tailwind installation and setup
MEDIUM IMPACT
This affects page load speed by adding CSS bundle size and impacts render-blocking resources during initial load.
module.exports = {
content: ['./src/**/*.{html,js,jsx,ts,tsx}'],
theme: { extend: {} },
plugins: [],
}
/* Tailwind CSS built with purge enabled to remove unused styles */@import 'tailwindcss/base'; @import 'tailwindcss/components'; @import 'tailwindcss/utilities'; /* No purge or optimization configured */
| Pattern | DOM Operations | Reflows | Paint Cost | Verdict |
|---|---|---|---|---|
| Full Tailwind CSS without purge | Minimal (CSS only) | 0 | High due to large CSS | [X] Bad |
| Tailwind CSS with purge and minify | Minimal (CSS only) | 0 | Low due to small CSS | [OK] Good |