Skip to content

Commit

Permalink
docs(zh/ru): fix sass import path
Browse files Browse the repository at this point in the history
follow up of vuejs#3569
closes vuejs#3783
  • Loading branch information
haoqunjiang committed Apr 9, 2019
1 parent 9003f3c commit 7916bb6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/ru/guide/css.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ module.exports = {
sass: {
// @/ это псевдоним к каталогу src/ поэтому предполагается,
// что у вас в проекте есть файл `src/variables.scss`
data: `@import "@/variables.scss";`
data: `@import "~@/variables.scss";`
},
// передача настроек Less.js в less-loader
less:{
Expand Down
2 changes: 1 addition & 1 deletion docs/zh/guide/css.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ module.exports = {
sass: {
// @/ 是 src/ 的别名
// 所以这里假设你有 `src/variables.scss` 这个文件
data: `@import "@/variables.scss";`
data: `@import "~@/variables.scss";`
}
}
}
Expand Down

0 comments on commit 7916bb6

Please sign in to comment.