Skip to content

Commit

Permalink
docs: add sassOptions for sass-loader >= 8 (vuejs#1593) [ci skip]
Browse files Browse the repository at this point in the history
* vuejs#65 - add sassOptions for docs

fix docs with error: 'options has an unknown property 'indentedSyntax'.'
which new sass-loader are writen in 'sassOptions';
This should also cause quick prototyping's sass setting, after executing '$vue serve'

* vuejs#65 - sassOptions fix for sass-loader

* vuejs#65 - fix sassOptions - lang:ru

* add comment for sassOptions version

* add comment for sassOptions

* add comment for sassOptions

* Update docs/guide/pre-processors.md

Co-Authored-By: Haoqun Jiang <[email protected]>

* Update pre-processors.md

* Update pre-processors.md
  • Loading branch information
johnnywang1994 authored and haoqunjiang committed Sep 22, 2019
1 parent d3fa467 commit 0bcf3b7
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/guide/pre-processors.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@ Note that `sass-loader` processes the non-indent-based `scss` syntax by default.
loader: 'sass-loader',
options: {
indentedSyntax: true
// sass-loader version >= 8
sassOptions: {
indentedSyntax: true
}
}
}
]
Expand Down
4 changes: 4 additions & 0 deletions docs/ru/guide/pre-processors.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@ module.exports = {
loader: 'sass-loader',
options: {
indentedSyntax: true
// sass-loader >= 8
sassOptions: {
indentedSyntax: true
}
}
}
]
Expand Down
4 changes: 4 additions & 0 deletions docs/zh/guide/pre-processors.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@ module.exports = {
loader: 'sass-loader',
options: {
indentedSyntax: true
// sass-loader version >= 8
sassOptions: {
indentedSyntax: true
}
}
}
]
Expand Down

0 comments on commit 0bcf3b7

Please sign in to comment.