API: The buildDir Property

  • Type: String
  • Default: .nuxt

Define the dist directory for your Nuxt.js application

Example (nuxt.config.js):

export default {
  buildDir: 'nuxt-dist'
}

By default, many tools assume that .nuxt is a hidden directory, because its name starts with a dot. You can use this option to prevent that.

build cli

Contributors

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

Platinum Sponsors

Storyblok Support Us