Page traduite Le contenu de cette page peut être déprécié.
La propriété ssr
Modifier la valeur par défaut ssr
de nuxt
-
Type:
boolean
-
Par défaut :
true
-
Valeurs possibles :
-
true
: Server-side rendering enabled -
false
: Pas de rendu côté serveur (seulement rendu côté client)
-
-
Par défaut :
Vous pouvez définir cette option sur
false
lorsque vous souhaitez uniquement le rendu côté client
nuxt.config.js
export default {
ssr: false // for SPA's
}
Auparavant, le
mode
était utilisé pour désactiver ou activer le rendu côté serveur. Voici la documentation de `mode' .
Editer cette page sur GitHub
Mise à jour le jeu. 15 décembre 2022
Valentín Costa
Ryan Skinner
Clément Ollivier
Daniel Roe
Alex Hirzel
Ajeet Chaulagain
René Eschke
Sébastien Chopin
Nico Devs
Muhammad
Nazaré da Piedade
Naoki Hamada
Tom
Yann Aufray
Anthony Chu
Nuzhat Minhaz
Lucas Portet
Richard Schloss
Xanzhu
bpy
Antony Konstantinidis
Hibariya
Jose Seabra
Eze
Florian LEFEBVRE
Lucas
Julien SEIXAS
Hugo
Sylvain Marroufin
Spencer Cooley
Piotr Zatorski
Vladimir Semenov
Harry Allen
kazuya kawaguchi
Unai Mengual
Hyunseung Lee
Alexandre Chopin
pooya parsa
Nick Medrano
Mosaab Emam
Iljs Путлер Капут
Heitor Ramon Ribeiro
Nero
Yoon Han
Ikko Ashimine
FamCodings
Ayouli
F. Hinkelmann
felipesuri
Christophe Carvalho Vilas-Boas
Leoš Literák
Trizotti
Marcello Bachechi
Rodolphe
Thomas Underwood
Shek Evgeniy
Lukasz Formela
Hugo Torzuoli