Skip to content

Commit e908af2

Browse files
tell-katinux
authored andcommitted
Fixed text layout. (nuxt#798)
1 parent 3081d50 commit e908af2

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

en/api/configuration-modulesdir.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,16 @@ description: Define the modules directory for your Nuxt.js application
77

88
- Type: `Array`
99
- Default: `['node_modules']`
10-
> Used to set the modules directories for path resolving, for example: webpack resolveLoading, nodeExternal and postcss. Configuration path is relative to [options.rootDir](/api/configuration-rootdir) (default: `process.cwd()`).
11-
Example (`nuxt.config.js`):
12-
```js
10+
11+
> Used to set the modules directories for path resolving, for example: webpack resolveLoading, nodeExternal and postcss. Configuration path is relative to [options.rootDir](/api/configuration-rootdir) (default: `process.cwd()`).
12+
13+
Example (`nuxt.config.js`):
14+
15+
```js
1316
module.exports = {
1417
modulesDir: ['../../node_modules']
1518
}
1619
```
20+
1721
Setting this field may be necessary if your project is organized as a Yarn workspace-styled mono-repository.
1822

0 commit comments

Comments
 (0)