Skip to content

Add --css app generator option #43177

New issue

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

Merged
merged 4 commits into from
Sep 7, 2021
Merged

Add --css app generator option #43177

merged 4 commits into from
Sep 7, 2021

Conversation

dhh
Copy link
Member

@dhh dhh commented Sep 7, 2021

Add --css option to the Rails app generator. When passed tailwind, it'll use tailwindcss-rails on an importmap/no-JS setup – otherwise cssbundling-rails. If passed postcss or sass, it'll always use cssbundling-rails.

@rails-bot rails-bot bot added the railties label Sep 7, 2021
@dhh dhh changed the title Add css generator option Add --css app generator option Sep 7, 2021
@dhh dhh merged commit 8380816 into main Sep 7, 2021
@dhh dhh deleted the add-css-generator-option branch September 7, 2021 15:48
@AndreyAzimov
Copy link

Will it be possible to add Bootstrap?

@dhh
Copy link
Member Author

dhh commented Sep 8, 2021

Please do look into that! You can open a PR on the cssbundling-rails repo if you find a path.

@AndreyAzimov
Copy link

@dhh cool, just did: rails/cssbundling-rails#3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants