samedi 25 juin 2016

how to include specific js file in ember.js

I added a .js file into my bower_components folder in my ember app. The file is included in my ember-cli-build.js like app.import('bower_components/script.js'). The app is working correctly on localhost but when i try to upload my app to heroku i got the error message no such file or directory script.

My question is where shall i put the script.js file? Shall i import it somewhere in my app?




Aucun commentaire:

Enregistrer un commentaire