You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Do you have ember-css-modules included in your dependencies for the addon?
If it's in devDependencies (which is where ember install will save it by default), then it will only compile the styles in your dummy app, and not the addon itself – it's the same reason you have to move ember-cli-htmlbars to dependencies when you ship an addon that has templates in it.
That fixed it! Thanks dude appreciate the quick response. I added a PR for adding that instruction to the Usage in Addons portion of the README as this a non-obvious step for new Ember devs.
Activity
dfreeman commentedon Mar 5, 2016
Do you have ember-css-modules included in your
dependenciesfor the addon?If it's in
devDependencies(which is whereember installwill save it by default), then it will only compile the styles in your dummy app, and not the addon itself – it's the same reason you have to move ember-cli-htmlbars todependencieswhen you ship an addon that has templates in it.timkendall commentedon Mar 5, 2016
That fixed it! Thanks dude appreciate the quick response. I added a PR for adding that instruction to the
Usage in Addonsportion of the README as this a non-obvious step for new Ember devs.dfreeman commentedon Mar 5, 2016
Glad it worked! Thanks for updating the README – there are definitely some gotchas when you get into the murkier corners of addon dependencies