Looking for ember.js Answers? Try Ask4KnowledgeBase
Looking for ember.js Keywords? Try Ask4Keywords

ember.jsHow to import JavaScript library/plugin


Introduction

Open the directory of your ember.js project, You will find there a file named ember-cli-build.js. You can install Your libraries or plugins using bower, then point the import to the bower_components folder, but if you have a file You want to add, just drag them to the folder of Your project and write the app.import to that file.

Syntax

  • app.import('path to file starting from project folder/file.js');