Closed
Description
As the title suggests, tailwind.config.js is not generated when using rails new --css tailwind
Here is what happens when I execute this command rails tailwindcss:install
whereas it used to generate one with this content :
const defaultTheme = require('tailwindcss/defaultTheme')
module.exports = {
content: [
'./public/*.html',
'./app/helpers/**/*.rb',
'./app/javascript/**/*.js',
'./app/views/**/*.{erb,haml,html,slim}'
],
theme: {
extend: {
fontFamily: {
sans: ['Inter var', ...defaultTheme.fontFamily.sans],
},
},
},
plugins: [
// require('@tailwindcss/forms'),
// require('@tailwindcss/typography'),
// require('@tailwindcss/container-queries'),
]
}
Metadata
Metadata
Assignees
Labels
No labels