default export is not declared in imported module
try this:
import * as tpl from './tpmInfo.tpl.html'
and then use it like this:
template: tpl.template,
Let me know if this works for you.
For Angular2-Meteor projects I had to do like Wassim says, with small changes:
import * as tpl from './tpmInfo.tpl.html'
and then in Componenttemplate: tpl.default
or
import * as templatefrom './tpmInfo.tpl.html'; template = template.default; @Component({ //smth, template })
this is a string, returned by angular2-compilers
module