Hawkejs.prototype.addViewDirectory >= 2.0.0

Purpose

Register a directory that can be searched for templates

Flags

Server
This is only available on the server

Syntax

Hawkejs#addViewDirectory ( Stringdirpath Numberweight= 10 );

Parameters

dirpath
Path to the directory
weight
The importance of the directory. The higher the number, the more important