UNPKG

generator-fountain-angular2

Version:

Yeoman Fountain generator to scaffold a webapp with Angular 2 written in ES6 (Babel), TypeScript through Webpack or SystemJS including tools Gulp 4, ESLint, Browsersync and Karma

10 lines (8 loc) 222 B
var ng = require('@angular/core'); module.exports = ng.Component({ selector: '<%- componentName %>', template: require('./<%- name %>.html') }) .Class({ constructor: function <%- componentName %>Controller() {} });