DEV Community

loading...

Discussion on: Using MirageJS with Nuxt

Collapse
adhamfarrag profile image
Adham Farrag

Can you please create a demo? It's not working with me. Thanks. :)

Collapse
jstgermain profile image
Justin St. Germain

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

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