From e5642a01a9211ffaad4567f161cde5f70fc55602 Mon Sep 17 00:00:00 2001 From: Sachin Kumar Date: Fri, 4 Feb 2022 09:00:40 +0530 Subject: [PATCH] docs: add yarn and pnpm installation commands --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index 4f42c353..a0f8a4af 100644 --- a/README.md +++ b/README.md @@ -49,6 +49,18 @@ To begin, you'll need to install `postcss-loader` and `postcss`: npm install --save-dev postcss-loader postcss ``` +or + +```console +yarn add -D postcss-loader postcss +``` + +or + +```console +pnpm add -D postcss-loader postcss +``` + Then add the plugin to your `webpack` config. For example: > In the following configuration the plugin [`postcss-preset-env`](https://github.com/csstools/postcss-preset-env) is used, which is not installed by default.