steal.static.views  function     

Loads views to be added to the production build. Paths must be given from steal's ROOT folder.

Example:
The following loads, coookbook/views/recipe/show.ejs and coookbook/views/recipe/list.ejs:

 steal.views('//coookbook/views/recipe/show.ejs',
             '//coookbook/views/recipe/list.ejs')
steal.views(path) -> steal
{String}

The view's path rooted from steal's root folder.

{steal}

the steal function for chaining.

© Jupiter IT - JavaScriptMVC Training and Support