Page traduite Le contenu de cette page peut être déprécié.
Propriétés RuntimeConfig
RuntimeConfig permet de passer des variables d'environnement et de la configuration dynamique au contexte de Nuxt. Pour plus d'informations sur l'utilisation, se référer au guide du runtime config .
publicRuntimeConfig
-
Type:
Object
La valeur de cet objet est accessible du côté client et du côté serveur en utilisant $config
.
privateRuntimeConfig
-
Type:
Object
La valeur de cet objet est accessible du côté serveur seulement en utilisant $config
. Cela écrase publicRuntimeConfig
pour le serveur.
Editer cette page sur GitHub
Mise à jour le jeu. 9 février 2023

























































