From ce5d32dfcacadb3bfe934d67270538b3b74e459a Mon Sep 17 00:00:00 2001 From: "michael.danielczok" <michael@pcsg.de> Date: Fri, 16 Jun 2023 18:38:41 +0200 Subject: [PATCH] refactor: Installation guide improved --- README.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 28391c7..c1826cb 100644 --- a/README.md +++ b/README.md @@ -50,13 +50,17 @@ Details can be found in the official [*Tailwind CSS* manual](https://tailwindcss Install *Tailwind CSS* in tailwind folder in your template root directory: ```bash -cd tailwind +npm install; +```` +Or use the command from the official Tailwind CSS documentation + +```bash # Using npm -npm install tailwindcss --save-dev +npm install tailwindcss@0.7.4 --save-dev # Using Yarn -yarn add tailwindcss --dev +yarn add tailwindcss@0.7.4 --dev ``` @@ -78,7 +82,7 @@ Every time you make changes to config file or input css file, you have to genera Use the following command (starting from template root directory): ```bash -./tailwind/node_modules/.bin/tailwind build ./tailwind/tailwind.style.css -c ./tailwind/tailwind.config.js -o ./bin/css/style.css +./node_modules/.bin/tailwind build ./tailwind/tailwind.style.css -c ./tailwind/tailwind.config.js -o ./bin/css/style.css ``` -- GitLab