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

12 lines (10 loc) 214 B
var ng = require('@angular/core'); module.exports = ng.Component({ selector: 'fountain-app', template: require('./hello.html') }) .Class({ constructor: function () { this.hello = 'Hello World!'; } });