1.0.0 • Published 9 years ago
ng2-inline-js v1.0.0
Angular Inline JS
Most of the code for this script was copied from https://github.com/jsvalley/ng2-inline-template but converted for use with es5 on generated js files.
Replace templateUrl and styleUrls in Angular2 components template and styles.
Install
$ npm install --save ng2-inline-template Or install globally to use ng2inline in command line
$ npm install --g ng2-inline-templateUsage
In a node module
var ng2inline = require('ng2-inline-template');
var output = ng2Inline('./my.compnent.js');
In command line
$ ng2inline --outDir=dist "src/**/*.js"License
MIT
1.0.0
9 years ago