A custom grunt task to include files in HTML files.
basePathcontains the path to your project's rootviewsDircontains the path to the folder containing the unparsed HTML files withinbasePath
The parser will parse the files in viewsDir and write them to your project's root.
Files can be included by creating "include tags".
{{ include "inc/header.html" }}
The script starts searching for the file from the project's root.