tailwindcss with rails code example

Example: rails tailwind template

# Get a minimal rails app ready to be deployed on Heroku with Tailwind, Simple form and debugging gems.

$ rails new \
  --database postgresql \
  --webpack \
  -m https://raw.githubusercontent.com/lioruby/rails-tailwind-template/master/minimal.rb \
  CHANGE_THIS_TO_YOUR_RAILS_APP_NAME
  
#Same as minimal plus a Devise install with a generated User model.

$ rails new \
  --database postgresql \
  --webpack \
  -m https://raw.githubusercontent.com/lioruby/rails-tailwind-template/master/devise.rb \
  CHANGE_THIS_TO_YOUR_RAILS_APP_NAME
  
#Github: https://github.com/Lioruby/rails-tailwind-template

Tags:

Ruby Example