Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add example for PostCSS config #8

Open
DenisIzmaylov opened this issue Feb 23, 2017 · 5 comments
Open

Add example for PostCSS config #8

DenisIzmaylov opened this issue Feb 23, 2017 · 5 comments

Comments

@DenisIzmaylov
Copy link
Contributor

DenisIzmaylov commented Feb 23, 2017

Or even include default preset?

I meant plugins like "nested", etc.

@grigory-leonenko
Copy link
Contributor

Написал комплексный пример с конфигом postcss, и рендером React приложения.
Для запуска внутри каталога нужно выполнить npm install и npm run start.

https://github.com/axept/jss-from-postcss/tree/master/examples/basic

@noahehall
Copy link

noahehall commented Mar 30, 2017

here is my .postcssrc

{
  "plugins": {
    "stylelint": {},
    "postcss-import": {},
    "postcss-url": {},
    "cssnano": {},
    "postcss-browser-reporter": {
      "selector": "@global body:before"
    },
    "postcss-reporter": {
      "clearMessages": true 
    }
  }
}

@DenisIzmaylov
Copy link
Contributor Author

@noahehall thank you! It seems we could add with extended examples to https://github.com/axept/prejss-example-app

@noahehall
Copy link

Definitely - i can submit a pull request,

however, i've updated it a bit, so that the the reporter is logging stylelint issues, but it is not showing the filename with the errors - see below, all errors come from 'input css'
image

@DenisIzmaylov
Copy link
Contributor Author

Would be amazing great!

Good point about source file. As I know it's pretty simple to add it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants