Open egillespie opened 2 years ago
Describe the bug
From the Nuxt output in the terminal when running npm run dev:
npm run dev
WARN mode option is deprecated. Please use ssr: true for universal mode or ssr: false for spa mode and remove mode from nuxt.config
To Fix
The www project uses some features that do not work with SSR. The solution here is to replace mode: spa, with ssr: false, in nuxt.config.js.
www
mode: spa,
ssr: false,
nuxt.config.js
Afterwards, rerun npm run dev to make sure the warning in the terminal goes away (and that the site still runs).
Describe the bug
From the Nuxt output in the terminal when running
npm run dev
:To Fix
The
www
project uses some features that do not work with SSR. The solution here is to replacemode: spa,
withssr: false,
innuxt.config.js
.Afterwards, rerun
npm run dev
to make sure the warning in the terminal goes away (and that the site still runs).