Hwaro::Models::AutoIncludesConfig
Inherits Reference / Object
Auto-includes configuration for automatic CSS/JS loading
Constructors
new
SourceInstance methods
all_tags(base_url : String = "", cache_bust : String = "") : String
Generate both CSS and JS tags
css_tags(base_url : String = "", cache_bust : String = "") : String
Generate CSS link tags for files in configured directories
dirs
Sourcedirs=(dirs : Array(String))
Sourceenabled
Sourceenabled=(enabled : Bool)
Sourcejs_tags(base_url : String = "", cache_bust : String = "") : String
Generate JS script tags for files in configured directories
sass_enabled
Set from [sass]; compiled SCSS outputs are invisible to the
source-tree scan in collect_tags without it.
sass_enabled=(sass_enabled : Bool)
Set from [sass]; compiled SCSS outputs are invisible to the
source-tree scan in collect_tags without it.