doc(css): document frontend sass compilation

[skipci]

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
pull/35603/head
Christoph Wurst 2022-12-05 12:42:11 +07:00
parent e36e92bace
commit 76c684b8fc
No known key found for this signature in database
GPG Key ID: CC42AC2A7F0E56D8
1 changed files with 16 additions and 1 deletions

@ -58,7 +58,7 @@ Otherwise, git checkouts can be handled the same as release archives, by using t
### Working with front-end code 🏗
#### Building
#### Building Vue components and scripts
We are moving more and more toward using Vue.js in the front-end, starting with Settings. For building the code on changes, use these terminal commands in the root folder:
@ -76,6 +76,21 @@ make watch-js
make build-js-production
```
#### Building styles
Styles are written in SCSS and compiled to css.
```bash
# install dependencies
make dev-setup
# compile style sheets
npm run sass
# compile style sheets and watch edits
npm run sass:watch
```
#### Committing changes
**When making changes, also commit the compiled files!**