IncludeFileViewHelper

ViewHelper to include a css/js file

Type: Basic

General properties

Name: Type: Description: Default value:
compress boolean Define if file should be compressed  
* path string Path to the CSS/JS file which should be included  

Examples

Basic example

Code:

<n:includeFile path="{settings.cssFile}" />

Output:

This will include the file provided by {settings} in the header