Nuxt 2 reached end of life on 30 June 2024
It no longer receives bug fixes or security patches. Upgrade to Nuxt 4 or get extended support from HeroDevs
The cli Property
Nuxt lets you customize the CLI configuration.
badgeMessages
- Type
Array
Add a message to the CLI banner.
nuxt.config.js
cli: {
badgeMessages: ['Hello World!']
}
bannerColor
Type:
String- Default:
'green'
- Default:
Change the color of the 'Nuxt' title in the CLI banner.
Available colors:
black, red, green, yellow, blue, magenta, cyan, white, gray, redBright, greenBright, yellowBright, blueBright, magentaBright, cyanBright, whiteBright
nuxt.config.js
export default {
cli: {
bannerColor: 'yellow'
}
}