Skip to content

Commit

Permalink
Merge pull request #9 from timkendall/master
Browse files Browse the repository at this point in the history
Add addon usage gotcha
  • Loading branch information
dfreeman committed Mar 5, 2016
2 parents f514ad7 + 443e517 commit 1ef22e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ export default Ember.Controller.extend({

## Usage in Addons

You can also use ember-css-modules in addons that expose components to their consuming application. However, as with component templates, the styles will need to be explicitly bound to the component class, since the resolver won't be able to find them in the addon tree.
You can also use ember-css-modules in addons that expose components to their consuming application. However, as with component templates, the styles will need to be explicitly bound to the component class, since the resolver won't be able to find them in the addon tree. You will also need to move `ember-css-modules` out of `devDependencies` and into `dependencies` in your addon's `package.json` ([see issue #8](https://github.com/salsify/ember-css-modules/issues/8)).

```js
// addon/components/my-addon-component.js
Expand Down

0 comments on commit 1ef22e5

Please sign in to comment.