API: The cli Property

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):

export default {
  cli: {
    bannerColor: 'yellow'
  }
}
buildDir css

Contributors

Caught a mistake or want to contribute to the documentation? Edit this page on GitHub!

Platinum Sponsors

Storyblok Support Us