You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Maxime LUCE edited this page Mar 30, 2017
·
2 revisions
When using grunt-html-build, you can reuse same HTML layout template between multiple projects.
But when creating reusable HTML layout template, you must take care of some things :
Think of features you need en each project
Custom Title
Styles
Scripts
Views
Templates
Use optional attribute on optional tags
Prevent grunt from fail when no match is found for a tag in the config
Use it precautially, it prevents some errors, in a project, some parts are require, some are optional
Think reuse
Create some optional sections to help customize layout between projects