Skip to content

Commit

Permalink
Merge pull request #35603 from nextcloud/doc/compile-frontend-styles
Browse files Browse the repository at this point in the history
Document frontend sass compilation
  • Loading branch information
skjnldsv authored Dec 7, 2022
2 parents 1357cf6 + 76c684b commit 744126a
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand All @@ -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!**
Expand Down

0 comments on commit 744126a

Please sign in to comment.