Documentación offline Nuxt main

NUXTB5003

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

En esta página

B5003#

You have custom keys under runtimeConfig.app, a namespace Nuxt reserves for internal values (such as baseURL and cdnURL). Custom keys here can collide with Nuxt's own config.

Resolution#

Move custom keys to runtimeConfig.public (exposed to the client) or to a top-level custom namespace (server-only):

export default defineNuxtConfig({
  runtimeConfig: {
    // instead of runtimeConfig.app.myKey
    public: {
      myKey: 'value',
    },
  },
})

::read-more{to="/docs/guide/going-further/runtime-config"} ::