This commit is contained in:
jleroy2023
2025-07-15 12:00:39 +02:00
parent de9ca3c4c1
commit 1851ae84e4
6 changed files with 34 additions and 16 deletions

View File

@@ -14,7 +14,7 @@ import axios from 'axios'
export default {
async asyncData({ params }) {
const { data } = await axios.get(`https://tyradex.vercel.app/api/v1/${params.id}`)
const { data } = await axios.get(`https://tyradex.vercel.app/api/v1/pokemon/${params.id}`)
return { pokemon: data }
}
}