0.0
The project is in a healthy, maintained state
A Rails gem to easily generate Devise views that are styled using either TailwindCSS or Bootstrap.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

DeviseTemplate

Generate Devise views styled with either TailwindCSS 3 or Bootstrap 5 easily.

DeviseTemplate

Installation

  1. Add the gem to your Rails application's Gemfile:
gem 'devise_template', group: :development
  1. Then execute
bundle install

Usage

Make sure TailwindCSS 3 / Bootstrap 5 is installed.

Once installed, you can generate Devise views styled with TailwindCSS or Bootstrap using the following commands:

For TailwindCSS 3

rails generate devise_template:tailwind

This will copy TailwindCSS-styled Devise views to your app/views/devise directory.

For Bootstrap 5

rails generate devise_template:bootstrap

This will copy Bootstrap-styled Devise views to your app/views/devise directory.

Contributing

  1. Fork it ( https://github.com/YutoYasunaga/devise_template/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

License

The gem is available as open source under the terms of the MIT License.