The mode property
Change default nuxt mode
-
Type:
string
-
Default:
universal
-
Possible values:
-
'spa'
: No server-side rendering (only client-side navigation) -
'universal'
: Isomorphic application (server-side rendering + client-side navigation)
-
-
Default:
You can use this option to change default nuxt mode for your project using
nuxt.config.js
Deprecated: please use
ssr: false
instead of mode: spa
To learn more about the
ssr
option, checkout the ssr property .To learn more about the
mode
option, checkout the rendering modes section .
Edit this page on GitHub
Updated at Fri, Jan 20, 2023
Rishi Raj Jain
Clément Ollivier
Savas Vedova
Steven Soekha
Vinícius Alves
Kareem Dabbeet
Valentín Costa
Ryan Skinner
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
Bobby Jenkins
bpy
Antony Konstantinidis
Hibariya
Jose Seabra
Eze
Florian LEFEBVRE
Lucas Recoaro
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 Eltociear Ashimine
FamCodings
Ayouli
F. Hinkelmann
felipesuri
Christophe Carvalho Vilas-Boas
Leoš Literák
Trizotti
Marcello Bachechi
Rodolphe
Thomas Underwood