I was wondering how to use my Nuxt app into an isomorphic universal mode.
What I mean, is that I do want to use it with SSR and SPA at the same time.
I know that it can support both but I cannot see where to setup it properly.
I saw the mode
property but I'm not sure to understand where to write it (in the nuxt.config.js
file?).
Nor where to put the mode
key.
Are mode: universal
or mode: spa
outdated?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…