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

Update Tailwind installation section #151

Open
SimonLab opened this issue Jul 24, 2023 · 0 comments
Open

Update Tailwind installation section #151

SimonLab opened this issue Jul 24, 2023 · 0 comments
Labels
chore a tedious but necessary task often paying technical debt enhancement New feature or enhancement of existing functionality T25m Time Estimate 25 Minutes

Comments

@SimonLab
Copy link
Member

At the moment Tailwind is added using the script html tag in the html header, see https://github.com/dwyl/phoenix-liveview-chat-example#15-tailwind-css-stylin

Phoenix 1.7 now includes Tailwind by default.
I think it makes sense to follow the default way to add Tailwind to Phoenix as people might be more used to it now.
We can follow the steps at https://github.com/dwyl/learn-tailwind/#part-2-tailwind-in-phoenix or https://tailwindcss.com/docs/guides/phoenix

@SimonLab SimonLab added the enhancement New feature or enhancement of existing functionality label Jul 24, 2023
@nelsonic nelsonic added T25m Time Estimate 25 Minutes chore a tedious but necessary task often paying technical debt labels Jul 25, 2023
SimonLab added a commit that referenced this issue Jul 26, 2023
- Add tailwind using the Elixir tailwind dependency
- Use esbuild to manage tailwind css classes
see https://tailwindcss.com/docs/guides/phoenix

ref: #151
@SimonLab SimonLab mentioned this issue Jul 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore a tedious but necessary task often paying technical debt enhancement New feature or enhancement of existing functionality T25m Time Estimate 25 Minutes
Projects
None yet
Development

No branches or pull requests

2 participants