Documentación offline Nuxt main

NUXTB5004

main Documentación oficial Licencia MITDescargado el 2026-08-02

En esta página

B5004#

Nuxt found a standalone vite.config or webpack.config file next to your nuxt.config. Nuxt manages the bundler internally and ignores these files, so they are usually leftovers from a migration or a copied non-Nuxt project.

Resolution#

Move the configuration into nuxt.config under the matching key, then delete the external file:

  • vite.config: use the vite key
  • webpack.config: use the webpack key
  • nitro.config: use the nitro key
  • postcss.config: use the postcss key
export default defineNuxtConfig({
  vite: {
    // your Vite config here
  },
})

::read-more{to="/docs/getting-started/configuration"} ::