How to Install Tailwind CSS using Ruby on Rails

preview_player
Показать описание


====================

In this guide, you'll learn how to install Tailwind CSS using Ruby on Rails

It occurred to me recently that I never actually recorded a screencast about installing Tailwind CSS within the Ruby on Rails framework.

For most screencasts, I tend to lean for my kickoff_tailwind application template as a quick way to get a new app up and running. Inside the template, I have the process of installing Tailwind CSS automated minus a few PostCSS configuration settings.

While it's relatively straight forward, there are some quirks to the process. I hope you find this guide useful. The written form below will be a bit brief while the video goes into more depth about the details.

I'd recommend referring the Tailwind documentation if you get hung up.

====================

📰 One-Click Subscribe:

💎🛤 Latest course: HELLO RAILS

💻 Previously published at:

💻 Check out the blog:

🦄 Check out my personal site:

🚀 Links:

📘Check out my book on UX Design:
"LUXD: Learn User Experience Design"

📙 Check out my FREE book on Tumblr Theming:
"Pro Tumblr Theming"

💯 Need awesome web hosting? Check out cloudways. They allow me to use a variety of hosting providers and build apps with ease:

🌊 Need more advanced hosting for Rails, PHP, Node, or other projects? Digital Ocean has you covered.

☕️ Keep me awake. Buy me a coffee
Рекомендации по теме
Комментарии
Автор

Very insightful and helpful.
Thank you very much. :)

rohitkalra
Автор

Helpful video. Thank you. In your postcss.config.js file, I think you're missing an asterisk before the .html in './app/**/.html.erb',

coronaforbin
Автор

Very Helpful video! However, tailwind css is not showing in production. Where could I be going wrong?

meddiy
Автор

Is it possible to have both materialize css and Tailwind on Rails application?

jemimahchepyego
Автор

I followed the exact same steps and went on web crunch website but it does not work.

elbofino
Автор

Tailwind isn't working for me. I followed the same steps. There is no styling when I run the rails server.

coop
Автор

What a joke Materialize framework can't compile properly the java library or conflict very often with other gems .The Taildwind is a open framework but it takes more time to be installed compare to Materialize. I think simplicity is the key

georgez
visit shbcf.ru