beyode / rails-tailwinded

Add taiwindcss 2 to your rails application and enjoy tailwind erb scaffolds.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rails Tailwinded

This template will add TailwindCss 2 to your rails application and apply default styles to your scaffolds.

Installation

Create a new rails application with this template: -

rails new my_app_name -m https://raw.githubusercontent.com/beyode/rails-tailwinded/main/template.rb

Or reference the template locally if you have cloned the repo

rails new my_app_name -m /path/to/rails-tailwinded/template.rb

Generating a Scaffold

New generated scaffold view will include tailwind styles

rails g scaffold Employee name phone city

Sample screenshots

Index Page

Inde page

Edit page

Edit page

Show page

Show page

About

Add taiwindcss 2 to your rails application and enjoy tailwind erb scaffolds.


Languages

Language:Ruby 100.0%