No commit activity in last 3 years
No release in over 3 years
Tailwind Rails Scaffold generator for Rails 6.1
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

tailwind_rails_scaffold¶ ↑

A scaffold generator for Rails 6 that uses tailwind 2.x

Features¶ ↑

  • Automatically generates the appropriate model associations for ActiveRecord

Rails versions¶ ↑

6.x

Install¶ ↑

Put this line in your Gemfile:

gem 'tailwind_rails_scaffold'

Then bundle:

% bundle

Usage¶ ↑

% rails generate tailwind_rails_scaffold:tailwind_rails_scaffold resource_name [field:type field:type] [options]

Example¶ ↑

Options¶ ↑

Basically same as the original scaffold.

TODO / known issues¶ ↑

Contributing to tailwind_rails_scaffold¶ ↑

  • Check out the latest master to make sure the feature hasn’t been implemented or the bug hasn’t been fixed yet

  • Check out the issue tracker to make sure someone already hasn’t requested it and/or contributed it

  • Fork the project

  • Start a feature/bugfix branch

  • Commit and push until you are happy with your contribution

Copyright © 2021 Roger Heykoop. See LICENSE.txt for further details.