Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 770 Bytes

README.md

File metadata and controls

34 lines (23 loc) · 770 Bytes

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