Skip to content

Commit

Permalink
docs(readme): clarify useable usage (#314)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lin84 authored and michael-ciniawsky committed Aug 7, 2018
1 parent fc24512 commit 001159d
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 @@ -88,6 +88,8 @@ import url from 'file.css'
### `Useable`

The `style-loader` injects the styles lazily making them useable on-demand via `style.use()` / `style.unuse()`

By convention the `Reference Counter API` should be bound to `.useable.css` and the `.css` should be loaded with basic `style-loader` usage.(similar to other file types, i.e. `.useable.less` and `.less`).

**webpack.config.js**
Expand Down

0 comments on commit 001159d

Please sign in to comment.