Function getAssetPackIntegrationCode
- getAssetPackIntegrationCode(
assetpack: string,
options?: { cacheBuster?: string; designRoot?: string | null },
): stringParameters
- assetpack: string
The name of the asset pack to integrate.
Optionaloptions: { cacheBuster?: string; designRoot?: string | null }OptionalcacheBuster?: stringA string to append as a cache buster to the asset URLs.
OptionaldesignRoot?: string | nullThe design root URL to resolve relative asset paths.
Returns string
The HTML string to include the asset pack's CSS and JavaScript.
- assetpack: string
Get the link and script tags needed to add a specific assetpack