mirror of
https://github.com/nextcloud/server.git
synced 2026-06-10 17:23:59 -04:00
Merge pull request #35603 from nextcloud/doc/compile-frontend-styles
Document frontend sass compilation
This commit is contained in:
commit
744126aed7
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