Skip to content

Commit

Permalink
feat(route-namespace): added documentation about an individual contro…
Browse files Browse the repository at this point in the history
…llers styleNamespace property
  • Loading branch information
webark authored Nov 15, 2017
1 parent 114fe3b commit cb94979
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@ To be able to use this for routes, you need to add a wrapping `div` around the o

After that it's quite easy: add a style file in your route directory alongside your `route.js` or `template.hbs` files.

An individual controller also has access to a `styleNamespace` property that is the namespace for a given route. This can be used for various use cases. (like enabling BEM style similar to how the `componentCssClassName` is used in a component)

### Usage with classic (non pod) structure

You can use classic Ember app structure by placing component styles in
Expand Down

0 comments on commit cb94979

Please # to comment.