mirror of
https://github.com/nextcloud/server.git
synced 2026-04-22 14:50:17 -04:00
doc(css): document frontend sass compilation
[skipci] Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
This commit is contained in:
parent
e36e92bace
commit
76c684b8fc
1 changed files with 16 additions and 1 deletions
17
README.md
17
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!**
|
||||
|
|
|
|||
Loading…
Reference in a new issue