postcss / postcss-js

PostCSS for React Inline Styles, Free Style and other CSS-in-JS
MIT License
657 stars 25 forks source link

Update Documentation #32

Closed colshacol closed 6 years ago

colshacol commented 6 years ago

In regards to #31.

This PR aims to add some clarification to the usage examples by declaring the imports for each example.

Previously, it was not apparent what exactly postcss-js exported, and newcomers could also easily confuse postcss in the examples to be postcss-js

Also, I included installation documentation simply because I feel that it is a globally adopted standard to do so. -- Regardless of if we believe it is common sense, it may cost another developer hours of frustration to not convey that it must be installed via npm or yarn.