Updated sass to documented syntax. Added commands for non-specified naming
Signed-off-by: Aarin Smith <aarinsmith@Aarins-MacBook-Pro.local>
This commit is contained in:
@@ -3,10 +3,18 @@
|
|||||||
> Converts SCSS or Sass files to CSS
|
> Converts SCSS or Sass files to CSS
|
||||||
> .scss and .sass can be used interchangeably in below examples depending on your preference
|
> .scss and .sass can be used interchangeably in below examples depending on your preference
|
||||||
|
|
||||||
- Immediately one time convert SCSS or Sass file to CSS
|
- Immediately convert scss file and output css with same filename
|
||||||
|
|
||||||
`sass {{inputfile}}.scss:{{outputfile}}.css`
|
`sass {{inputfile}}.scss`
|
||||||
|
|
||||||
- Watch SCSS or Sass file for changes and update CSS file
|
- Immediately convert SCSS or Sass file to CSS to specified output file
|
||||||
|
|
||||||
|
`sass {{inputfile}}.scss {{outputfile}}.css`
|
||||||
|
|
||||||
|
- Watch SCSS or Sass file for changes and output or update CSS file with same filename
|
||||||
|
|
||||||
|
`sass --watch {{inputfile}}.scss`
|
||||||
|
|
||||||
|
- Watch SCSS or Sass file for changes and output or update CSS file with specified filename
|
||||||
|
|
||||||
`sass --watch {{inputfile}}.scss:{{outputfile}}.css`
|
`sass --watch {{inputfile}}.scss:{{outputfile}}.css`
|
Reference in New Issue
Block a user