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.
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 confusepostcss
in the examples to bepostcss-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
oryarn
.