Skip to content
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

Comment out @import directives #26

Closed
wants to merge 1 commit into from
Closed

Comment out @import directives #26

wants to merge 1 commit into from

Conversation

oskarkook
Copy link

Deleting the @import "./phoenix.css"; rule is not clear if you have not used Tailwind CLI before. Since installing this package is backwards-incompatible in this sense, I think it would be clearer to just comment out those lines, especially since the application will now not be able to use the classes in ./phoenix.css. The user will have a clearer understanding of what is going on, even later on, if they do not overlook the changes and commit them straight into the repo.

In comparison, the change to assets/js/app.js keeps the original behaviour for the application and is therefore not a "destructive" action.

@philipgiuliani
Copy link

TailwindCSS CLI 3.1 now has support for the @import directive: https://tailwindcss.com/blog/tailwindcss-v3-1#built-in-support-for-css-imports-in-the-cli

@oskarkook oskarkook closed this by deleting the head repository Sep 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants