class Stylus::Railtie
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 howStylus
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.