Want to take a look at our new docs? Our new docs are now in beta. Have fun!

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.

Contributors

Contribution for this page is now closed. If you would like to contribute please check out our new docs are now in beta. Have fun!

Platinum Sponsors

StoryblokMoovweb Support Us