class

Hwaro::Models::AutoIncludesConfig

Inherits Reference / Object

Auto-includes configuration for automatic CSS/JS loading

Constructors

Instance methods

all_tags(base_url : String = "", cache_bust : String = "") : String

Generate both CSS and JS tags

Source
css_tags(base_url : String = "", cache_bust : String = "") : String

Generate CSS link tags for files in configured directories

Source
dirs
Source
dirs=(dirs : Array(String))
Source
enabled
Source
enabled=(enabled : Bool)
Source
js_tags(base_url : String = "", cache_bust : String = "") : String

Generate JS script tags for files in configured directories

Source
sass_enabled

Set from [sass]; compiled SCSS outputs are invisible to the source-tree scan in collect_tags without it.

Source
sass_enabled=(sass_enabled : Bool)

Set from [sass]; compiled SCSS outputs are invisible to the source-tree scan in collect_tags without it.

Source