Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

item.js not loaded - provide solution/hint for wiredep users #29

Open
rowild opened this issue Aug 27, 2015 · 1 comment
Open

item.js not loaded - provide solution/hint for wiredep users #29

rowild opened this issue Aug 27, 2015 · 1 comment

Comments

@rowild
Copy link

rowild commented Aug 27, 2015

It would behelpful to mention in the Readme thet the dependency "overlay" has a script, item.js, which isn't loaded when wiredep is used. The solution is to use the "overrides" attribute in the bower.json:

{
  "name": "myExampleApp",
  "overrides": {
    "outlayer": {
      "main": [
        "item.js",
        "outlayer.js"
      ]
    }
  },
  "dependencies": {
    "angular": "~1.4.*",
    "angular-masonry-directive": "*",
    ....
  },
  ...
} 
@marcusmotill
Copy link

Thanks man, I needed to make it js/item.js and js/outlayer.js to work for anyone else stuck

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants