DEV Community

loading...

Discussion on: Using MirageJS with Nuxt

Collapse
jstgermain profile image
Justin St. Germain

in nuxt.config.js, update this:
mode: "universal",

to:
mode: process.env.NODE_ENV === "development" ? "spa" : "universal",