linstula / ember-cli-bootstrap

ember-cli addon for Twitter Bootstrap
37 stars 20 forks source link

Import template compiler for runtime compilation #40

Open totallymike opened 9 years ago

totallymike commented 9 years ago

This resolves #39

DavidPhilip commented 9 years ago

I had to add ".js" to the compiler-filename otherwise app.import would've thrown an error that I didn't pass a file.

So instead of:

app.import(path.join(app.bowerDirectory, 'ember', 'ember-template-compiler'));

use

app.import(path.join(app.bowerDirectory, 'ember', 'ember-template-compiler.js'));
MonkeyIsNull commented 9 years ago

Can confirm @DavidPhilip's comment. You do need the '.js' added to it. Should work fine then