The buildDir property
Define the dist directory for your Nuxt.js application
-
Type:
String
-
Default:
.nuxt
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.
Edit this page on GitHub
Updated at Mon, Jul 12, 2021