Quantcast
Viewing all articles
Browse latest Browse all 4829

Loading bootstrap via ember-cli-build.js not working

@charsi wrote:

In my project if I include bootstrap’s javascrpt file via

app.import(app.bowerDirectory + '/bootstrap/dist/js/bootstrap.min.js'); in ember-cli-build.js I get a bunch of js errors and the pages don’t render.

If instead I include it in index.html it works fine. Any idea what could be causing this?

Error-

SyntaxError: export declarations may only appear at top level of a module

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 4829

Trending Articles