ember-cli-bootstrap icon indicating copy to clipboard operation
ember-cli-bootstrap copied to clipboard

Import template compiler for runtime compilation

Open totallymike opened this issue 10 years ago • 2 comments

This resolves #39

totallymike avatar Mar 19 '15 14:03 totallymike

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'));

DavidPhilip avatar Apr 18 '15 22:04 DavidPhilip

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

MonkeyIsNull avatar Apr 24 '15 02:04 MonkeyIsNull