Skip to content

Commit

Permalink
docs(): READEME
Browse files Browse the repository at this point in the history
  • Loading branch information
GitOfZGT committed Sep 19, 2021
1 parent c17387f commit 757559e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ used in [`less-loader`](https://github.com/webpack-contrib/less-loader)

> 当 multipleScopeVars 只有一项时, scopeName 就没有意义,但是 path 可以起到 less 变量提升的作用
[multipleScopeVars](#multiplescopevars) 的属性在文档往下的内容有描述

```js
const path = require('path');
// const less = require("less");
Expand Down Expand Up @@ -344,6 +346,10 @@ Type `Function`

### multipleScopeVars

必需的

> 当 multipleScopeVars 只有一项时, scopeName 就没有意义,但是 path 可以起到 变量提升的作用
Type `object[]`

#### multipleScopeVars[].scopeName
Expand All @@ -352,6 +358,10 @@ Type `string`

#### multipleScopeVars[].path

必需的,变量文件的绝对路径

Type `string`

```js
const multipleScopeVars = [
{
Expand Down

0 comments on commit 757559e

Please sign in to comment.