Skip to content

Commit

Permalink
Updates to readme for plain css useage.
Browse files Browse the repository at this point in the history
  • Loading branch information
webark committed Jan 16, 2017
1 parent fc52c9c commit ff88658
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ In order to use this with plain css files, you need to install [`ember-cli-postc

```
ember install ember-component-css
ember install ember-cli-postcss
npm install postcss-import --save-dev
```
Then in your `ember-cli-build.js` you can configure it as such.
Expand All @@ -110,7 +111,7 @@ var CssImport = require('postcss-import');
module.exports = function(defaults) {
var app = new EmberAddon(defaults, {
postcssOptions: {
filter: {
compile: {
enabled: true,
plugins: [{
module: CssImport,
Expand All @@ -127,6 +128,7 @@ You can also add in [`postcss-cssnext`](https://github.com/MoOx/postcss-cssnext)
postcss plugins in this way too.

*Things like [`ember-cli-autoprefixer`](https://github.com/kimroen/ember-cli-autoprefixer) will work out of the box and do not need to be added in as a postcss plugin.*
*Currently there is a bug where the pod-styles file will only run and be generated if there more the just the 'css' stylesheet extension registered. Until a proper fix for this is in place, you can refer to issue #178, and run `ember install buschtoens/fix-ember-component-css`. Thank you for your patience while we get this issue resolved.*

### Getting the generated class name

Expand Down

0 comments on commit ff88658

Please # to comment.