#page crashes when using `useFetch`

8 messages · Page 1 of 1 (latest)

magic kelp
#

Does it work when you remove the useFetch?

formal frost
#

if i remove the line the page works again

magic kelp
#

Replace http://localhost:4489/news/latest with https://jsonplaceholder.typicode.com/users/1. If it works, your server is the issue not useFetch.

formal frost
#

same issue :/

magic kelp
#

Not sure. Remove lang="js" and then do a v-if on <section v-if="news">

formal frost
#

Remove lang="js" works 🙂

magic kelp
#

Cool I've only seen lang="ts" be a thing