When using nuxt, mode: 'spa' is required in nuxt.config.js. mode: universal won't work.
Although this might be obvious for some, begginers might take a long time to figure this out (as it happened with me).
I suggest this to be added in on the Nuxt Usage section.
When using nuxt,
mode: 'spa'
is required innuxt.config.js
.mode: universal
won't work. Although this might be obvious for some, begginers might take a long time to figure this out (as it happened with me).I suggest this to be added in on the Nuxt Usage section.