From 0aae2e9ff48ff4a49f40f1a3f973f69af3aba408 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Radek=20Kozie=C5=82?= Date: Mon, 24 Aug 2020 16:13:23 +0200 Subject: [PATCH] Update README and make the instruction more clear. --- README.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 841d647..314e82f 100644 --- a/README.md +++ b/README.md @@ -92,17 +92,17 @@ $ git submodule add https://github.com/panr/hugo-theme-terminal.git themes/termi ⚠️ **The theme needs at least Hugo version 0.74.x**. +The theme is using [Hugo Pipes](https://gohugo.io/hugo-pipes/) to handle Javascript and PostCSS files. This setup **requires** following npm packages. Before you start, you have to install them (globally or locally): + +🚨 **THIS STEP IS VERY IMPORTANT** 🚨 + +``` +yarn add -D @babel/cli @babel/core @babel/preset-env browserslist clipboard cssnano postcss-cli postcss-import postcss-mixins postcss-nested postcss-preset-env postcss-url +``` + ## How to run your site -The theme is using [Hugo Pipes](https://gohugo.io/hugo-pipes/) to handle Javascript and PostCSS files. This setup **requires** following npm packages: - -``` -@babel/cli @babel/core @babel/preset-env browserslist clipboard cssnano postcss-cli postcss-import postcss-mixins postcss-nested postcss-preset-env postcss-url -``` - -Before you start, you have to install them (globally or locally). - -Then: +If you installed all needed `npm` dependencies, then you can run: ``` $ hugo server -t terminal