Documentation

Bundles.Reference method

The Bundles.Reference method adds a reference a bundle.

Example:

Bundles.Reference("scripts/app");

Calls to Reference can appear anywhere in a page, layout or partial view.

The path argument can be one of the following:

  • A bundle path
  • An asset path - the whole bundle containing this asset is referenced
  • A URL