gluestack

gluestack Logogluestack

Expo Api Routes / server output breaks UI

simone_67524 posted this in #support
Open in Discord
Avatar
simone_67524OP
Hi,
I'd like to take advantage of Expo Api Routes (https://docs.expo.dev/router/reference/api-routes/#create-an-api-route) but as soon as I follow the very first step, which is to activate server output, my UI breaks. I've spent some time figuring this out, the problem appears when I add the following to app.json. How can I use Api Routes together with Gluestack?

{ "web": { "output": "server" } }

1 Reply