We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
As the title suggests, tailwind.config.js is not generated when using rails new --css tailwind
rails new --css tailwind
Here is what happens when I execute this command rails tailwindcss:install
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'), ] }
The text was updated successfully, but these errors were encountered:
Just wondering why did you close it? I have the same problem and I am not sure how to configure tailwind in this case.
Sorry, something went wrong.
@jakon89 Tailwind v4 no longer uses a config file for configuration. Please see the release notes: https://tailwindcss.com/blog/tailwindcss-v4#css-first-configuration
@jakon89 You can also pin to v3 if you prefer not to deal with learning a new method of configuration. See README / You don't have to upgrade
No branches or pull requests
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 :
The text was updated successfully, but these errors were encountered: