The buildDir Property

  • Type: String
  • Default: .nuxt

Define the dist directory for your Nuxt.js application

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.

Partners

  • Netlify
  • Google Chrome
  • Vercel
  • Swell
  • Strapi
  • Ship Shape
  • Layer0
  • Storyblok
  • 64 Robots
  • Netlify
  • Google Chrome
  • Vercel
  • Swell
  • Strapi
  • Ship Shape
  • Layer0
  • Storyblok
  • 64 Robots
Support Us