Refactor generator-base.js and the template for view manager and update the version number
Merge branch 'hotfix/0.1.8'