Skip to content
This repository was archived by the owner on Sep 3, 2024. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions en/api/configuration-cli.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
title: "API: The cli Property"
description: Nuxt.js lets you customize the CLI configuration.
---

> Nuxt.js lets you customize the CLI configuration.

## bannerColor

- Type: `String`
- Default: `green`

Change the color of the 'Nuxt.js' title in the CLI banner.

Available colors:
- `black`, `red`, `green`, `yellow`, `blue`, `magenta`, `cyan`, `white`, `gray`, `redBright`, `greenBright`, `yellowBright`, `blueBright`, `magentaBright`, `cyanBright`, `whiteBright`

Example (`nuxt.config.js`):

```js
export default {
cli: {
bannerColor: 'yellow'
}
}
```
7 changes: 7 additions & 0 deletions en/api/menu.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,13 @@
]
},
{ "name": "buildDir", "to": "/configuration-builddir" },
{
"name": "cli",
"to": "/configuration-cli",
"contents": [
{ "name": "bannerColor", "to": "#bannercolor" }
]
},
{ "name": "css", "to": "/configuration-css" },
{ "name": "dev", "to": "/configuration-dev" },
{ "name": "env", "to": "/configuration-env" },
Expand Down