Answer Overflow Logo
Change Theme
Search Answer Overflow
GitHub
Add Your Server
Login
Home
Popular
Topics
Gaming
Programming
afterdunk
Explore posts from servers
N
Nuxt
CD
Cloudflare Developers
Posts
Comments
N
Nuxt
•
Created by afterdunk on 6/2/2024 in
#❓・help
useFetch unknown type when fetching api routes
whoops, I fixed it by changing
useFetch('/api/media/' + route.params.id)
useFetch('/api/media/' + route.params.id)
to
useFetch(`/api/media/${route.params.id}`)
useFetch(`/api/media/${route.params.id}`)
6 replies