jerel / ember-cli-loading-slider

A YouTube like loading indicator for EmberJS packaged as an Ember CLI add-on.
MIT License
116 stars 36 forks source link

Import path #3

Closed oskarrough closed 10 years ago

oskarrough commented 10 years ago

Hi, thank you for this addon! I couldn't find the correct path for importing it into my application route. Tried many different but the one in the readme didn't work either. And I did install the addon and see it in node_modules.

import LoadingSliderMixin from '../mixins/loading-slider';

File: app/routes/application.js ENOENT, no such file or directory '/Users/oskar/Sites/radio4000/tmp/tree_merger-tmp_dest_dir-LJoslqM3.tmp/app/mixins/loading-slider.js' Error:

jerel commented 10 years ago

@oskarrough Sorry about this, my mistake. I updated the README with mixin instructions in preparation for v1.0.3 but I didn't tag so npm didn't have the mixin. If you install v1.0.3 the mixin will be included. Or use these instructions https://github.com/ngenworks/ember-cli-loading-slider/blob/v1.0.2/README.md