Ensure that your tailwind.config.js
file includes all necessary file types in the content
array. Here’s an example configuration:
// tailwind.config.js
module.exports = {
content: [
'./src/**/*.html',
'./src/**/*.js',
'./src/**/*.jsx',
'./src/**/*.ts',
'./src/**/*.tsx',
'./.storybook/**/*.{js,jsx,ts,tsx}', // Include Storybook files
],
theme: {
extend: {},
},
plugins: [],
};