2016-09-08 01:44:28 +01:00
|
|
|
# sass
|
2016-01-04 10:29:19 -08:00
|
|
|
|
2024-04-25 19:58:21 -03:00
|
|
|
> Convert SCSS or Sass files to CSS.
|
2019-05-23 11:56:50 +01:00
|
|
|
> More information: <https://sass-lang.com/documentation/cli/dart-sass>.
|
2016-01-04 10:29:19 -08: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 10:29:19 -08:00
|
|
|
|
2016-07-22 03:16:44 +05:30
|
|
|
`sass {{inputfile.scss|inputfile.sass}}`
|
2016-01-04 10:29:19 -08: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 10:29:19 -08:00
|
|
|
|
2016-07-22 03:16:44 +05:30
|
|
|
`sass {{inputfile.scss|inputfile.sass}} {{outputfile.css}}`
|
2016-01-04 12:21:59 -08: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 12:21:59 -08:00
|
|
|
|
2016-07-22 03:16:44 +05:30
|
|
|
`sass --watch {{inputfile.scss|inputfile.sass}}`
|
2016-01-04 12:21:59 -08: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 12:21:59 -08:00
|
|
|
|
2016-07-22 03:16:44 +05:30
|
|
|
`sass --watch {{inputfile.scss|inputfile.sass}}:{{outputfile.css}}`
|