문제

I need to use Slim-rails in all my Rails projects. How to use Slim-rails by default?

도움이 되었습니까?

해결책

use this to generate your rails project

rails new myapp -m https://raw.github.com/RailsApps/rails-composer/master/composer.rb

choose 3 option at beggining of wizard and later will be option about Template engine

besides slim it has many neat options to speedup your rails project setup

다른 팁

This is what you want:

http://edgeguides.rubyonrails.org/rails_application_templates.html

Rails Application Templates

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top