Genie.Assets.include_assetFunction
include_asset(asset_type::Union{String,Symbol}, file_name::Union{String,Symbol};
              fingerprinted::Bool = Genie.config.assets_fingerprinted) :: String

Returns the path to an asset. asset_type can be one of :js, :css. The file_name should not include the extension. fingerprinted is a Bool indicating if a fingerprint (unique hash) should be added to the asset's filename (used in production to invalidate caches).

source
Genie.Assets.css_assetFunction
css_asset(file_name::String; fingerprinted::Bool = Genie.config.assets_fingerprinted) :: String

Path to a css asset. The file_name should not include the extension. fingerprinted is a Bool indicating if a fingerprint (unique hash) should be added to the asset's filename (used in production to invalidate caches).

source
Genie.Assets.js_assetFunction
js_asset(file_name::String; fingerprinted::Bool = Genie.config.assets_fingerprinted) :: String

Path to a js asset. file_name should not include the extension. fingerprinted is a Bool indicating if a fingerprint (unique hash) should be added to the asset's filename (used in production to invalidate caches).

source
Genie.Assets.js_settingsFunction
js_settings() :: string

Sets up a window.Genie.Settings JavaScript object which exposes relevant Genie app settings from Genie.config

source
Genie.Assets.embeddedFunction
embeded(path::String) :: String

Reads and outputs the file at path within Genie's root package dir

source
Genie.Assets.channels_scriptFunction
channels_script() :: String

Outputs the channels JavaScript content within <script>...</script> tags, for embedding into the page.

source
Genie.Assets.channels_supportFunction
channels_support() :: String

Provides full web channels support, setting up routes for loading support JS files, web sockets subscription and returning the <script> tag for including the linked JS file into the web page.

source