An open API service indexing awesome lists of open source software.

https://github.com/dbernheisel/phoenix15-tailwindcss2

Example of Tailwind CSS 2.0 and Phoenix 1.5
https://github.com/dbernheisel/phoenix15-tailwindcss2

Last synced: about 1 year ago
JSON representation

Example of Tailwind CSS 2.0 and Phoenix 1.5

Awesome Lists containing this project

README

          

# Example Phoenix 1.5 and Tailwind 2.0 App

This shows a plain [Phoenix](https://www.phoenixframework.org/) app, generated
with `mix phx.new my_app`, and adding [Tailwind](https://tailwindcss.com/) to
it.

[See the commit that made it
work](https://github.com/dbernheisel/phoenix15-tailwindcss2/commit/4d2853aef2a8822d15191bd3be4acc52285a32ef).

Verified this works with both `node-sass` and `sass`.

Since Tailwind recommends using PostCSS as your preprocessor and not Sass, check the [remove-sass
branch](https://github.com/dbernheisel/phoenix15-tailwindcss2/tree/remove-sass)
and [see the commit to drop Sass](https://github.com/dbernheisel/phoenix15-tailwindcss2/commit/95b3c90d7c89b4ec29160bc0e29ea44f1aa18b2a)

![Example Screenshot](./priv/example.png)