ng2-template-loader

1.0.1 • Public • Published

ng2-template-loader

A webpack loader for escaping text to display as-is for Angular 2 template strings.

Sample Usage

@Component({
  selector: 'my-component',
  template: `${require(ng2-template-loader!raw-loader!./my.component.ts)}`
})
export class MyComponent {
}

Package Sidebar

Install

npm i ng2-template-loader

Weekly Downloads

5

Version

1.0.1

License

MIT

Last publish

Collaborators

  • pringshia