This may be a stupid question related to ignorance. I am rewriting a project that previously used Ember 1.7 in Ember 2.3 using Ember-cli v2.2
Now, in the old project, several libraries were manually included in the index.html file, placed in the script directory, and then compiled. For example, suppose the JS asset that I want to enable is offline.js.
I understand that Ember-cli uses Bower and can be used to install tower components like Bootstrap or moment.js, etc. What about custom js? I put the file in offline.js, included it in index.html, but it does nothing.
I do not think that I understand how to add / import supplier’s assets at all; how to add, say, offline.js to a project and use it throughout the application?
source share