summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2022-12-05 12:42:11 +0100
committerChristoph Wurst <christoph@winzerhof-wurst.at>2022-12-05 12:42:11 +0100
commit76c684b8fc4fdbad013bc258b8629cc410f32205 (patch)
tree81d209032cad50320b4d394d452e9d8983e9a53c /README.md
parente36e92bacefeac0cf28888b3e528ab97cbc2ed9f (diff)
downloadnextcloud-server-76c684b8fc4fdbad013bc258b8629cc410f32205.tar.gz
nextcloud-server-76c684b8fc4fdbad013bc258b8629cc410f32205.zip
doc(css): document frontend sass compilation
[skipci] Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'README.md')
-rw-r--r--README.md17
1 files changed, 16 insertions, 1 deletions
diff --git a/README.md b/README.md
index 104564a4cee..710aaa86c85 100644
--- a/README.md
+++ b/README.md
@@ -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!**