urigo:static-templates

v1.1.4Published 6 years ago

This package has not had recent updates. Please investigate it's current state before committing to using it in your project.

meteor-static-templates

Meteor plugin for importing static HTML templates

Installation

meteor add urigo:static-templates

Usage

1import example from './example.html';
2
3console.log('example.html as string:', example);

importing from node_modules

1import template from 'angular-utils-pagination/dirPagination.tpl.html';

Known issues

  • TypeScript warnings about missing module [#9]
  • Conflicting with other compiler-packages transforming files having the extension .html e.g. angular-compilers or blaze-html-templates [#18]