Skip to content

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

Notifications You must be signed in to change notification settings

beyode/rails-tailwinded

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages