2016-09-08 01:44:28 +01:00
|
|
|
# sass
|
2016-01-04 18:29:19 +00:00
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
> Converts SCSS or Sass files to CSS.
|
2019-05-15 09:19:45 +01:00
|
|
|
> Homepage: <https://sass-lang.com>.
|
2016-01-04 18:29:19 +00:00
|
|
|
|
2016-09-08 01:44:28 +01:00
|
|
|
- Convert a SCSS or Sass file to CSS and print out the result:
|
2016-01-04 18:29:19 +00:00
|
|
|
|
2016-07-21 22:46:44 +01:00
|
|
|
`sass {{inputfile.scss|inputfile.sass}}`
|
2016-01-04 18:29:19 +00:00
|
|
|
|
2016-09-08 01:44:28 +01:00
|
|
|
- Convert a SCSS or Sass file to CSS and save the result to a file:
|
2016-01-04 18:29:19 +00:00
|
|
|
|
2016-07-21 22:46:44 +01:00
|
|
|
`sass {{inputfile.scss|inputfile.sass}} {{outputfile.css}}`
|
2016-01-04 20:21:59 +00:00
|
|
|
|
2016-09-08 01:44:28 +01:00
|
|
|
- Watch a SCSS or Sass file for changes and output or update the CSS file with same filename:
|
2016-01-04 20:21:59 +00:00
|
|
|
|
2016-07-21 22:46:44 +01:00
|
|
|
`sass --watch {{inputfile.scss|inputfile.sass}}`
|
2016-01-04 20:21:59 +00:00
|
|
|
|
2016-09-08 01:44:28 +01:00
|
|
|
- Watch a SCSS or Sass file for changes and output or update the CSS file with the given filename:
|
2016-01-04 20:21:59 +00:00
|
|
|
|
2016-07-21 22:46:44 +01:00
|
|
|
`sass --watch {{inputfile.scss|inputfile.sass}}:{{outputfile.css}}`
|