Class: Stylus::Railtie
- Inherits:
-
Rails::Railtie
- Object
- Rails::Railtie
- Stylus::Railtie
- Defined in:
- lib/stylus/railtie.rb
Overview
Internal: The Railtie responsible for integrate the Stylus library with a Rails application.
Some of the customizations of using Stylus alongside Rails:
-
The application will use the Stylus stylesheet engine;
-
The Sprockets instance (present at Rails.application.assets) will be configured with the Stylus templates and the configurations defined at ‘config.assets’ will affect how Stylus compile your stylesheets;
-
The assets load path - the folders living on app/assets/stylesheets, lib/assets/stylesheets and vendor/assets/stylesheets on your app - will be added to the Stylus path registry.