Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit c1ca73f

Browse files
committed
Readme - fixed bugs and Grunt workflow
1 parent 6858764 commit c1ca73f

File tree

1 file changed

+20
-6
lines changed

1 file changed

+20
-6
lines changed

‎README.md‎

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,26 +8,40 @@ https://www.vzhurudolu.cz/kurzy/css-kod
88

99
Ověřte si, zda v příkazové řádce máte:
1010

11-
- [Git](https://git-scm.com/downloads): `git -v`
12-
- [NPM a celý Node.js ekosystém](https://www.vzhurudolu.cz/prirucka/node-instalace): `npm -v`
11+
- [Git](https://git-scm.com/downloads): `git --version`
12+
- [NPM a celý Node.js ekosystém](https://www.vzhurudolu.cz/prirucka/node-instalace): `npm --version`
1313
- [Grunt CLI](https://gruntjs.com/getting-started): `grunt --version`
1414

1515
Instalujte konkrétní projekt:
1616

1717
```bash
18-
# naklonování projektu
18+
# Naklonování projektu
1919
git clone https://github.com/machal/example-css-architecture.git
2020

21-
# skok do adresáře
21+
# Skok do adresáře
2222
cd example-css-architecture
2323

24-
# instalace závislostí
24+
# Instalace závislostí
2525
npm install
2626

27-
# spuštění Gruntu - otevře okno prohlížeče s projektem
27+
# Spuštění Gruntu - otevře okno prohlížeče s projektem
2828
grunt
2929
```
3030

31+
## Možnosti práce s Gruntem na tomto příkladu
3132

33+
```bash
34+
# Spuštění všeho: less, postcss, browserSync, watch
35+
# (otevře okno s prohlížečem a čeká na změny v souborech)
36+
grunt
37+
38+
# Stylelint - kontroluje LESS soubory
39+
grunt stylelint
40+
41+
# Prettier - automaticky formátuje LESS (nebo JS) soubory
42+
grunt prettier
43+
```
3244

45+
Kompletní je možné prohlédnout si v `Gruntfile.js`.
3346

47+
Více informací o Gruntu: https://www.vzhurudolu.cz/prirucka/grunt

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /