Edit on GitHub
Jump to docs navigation

Twig Components / Methods / asset_version

asset_version(path, packageName = null)

type: string | null default: null

asset version is a Twig function that returns the current version of the package, more information in Linking to CSS, JavaScript and Image Assets.

Source: Twig



Edit this page on GitHub
Couldn't find what you were looking for? We are happy to help you in the forum, on Slack or on Github.