ruby on rails

devise: configuring view

흰두부1 2020. 11. 19. 13:07

devise의 view를 수정하기 위해서 다음 명령어를 console에 입력시켜주면 view가 생성된다.

rails generate devise:views

 

나는 bootstrap template를 이용할 것이므로 다음 코드를 gemfile에 추가시켜 주고, gem 설치를 해준다.

gem 'devise-bootstrap-views', '~> 1.0'
bundle install --without production

그리고 다음 명령어를 console에 입력해주면 view가 생성된다.

rails generate devise:views:bootstrap_templates

참고: github.com/hisea/devise-bootstrap-views

 

hisea/devise-bootstrap-views

Contribute to hisea/devise-bootstrap-views development by creating an account on GitHub.

github.com