DEBUG dependance
This commit is contained in:
14
components/PokemonCard.vue
Normal file
14
components/PokemonCard.vue
Normal file
@@ -0,0 +1,14 @@
|
||||
<template>
|
||||
<v-col cols="12" sm="4" md="3">
|
||||
<v-card class="hover:scale-105 transition" @click="$router.push('/pokemon/' + pokemon.id)">
|
||||
<v-img :src="pokemon.sprites.regular" height="200px" />
|
||||
<v-card-title>{{ pokemon.name.fr }}</v-card-title>
|
||||
</v-card>
|
||||
</v-col>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
props: ['pokemon']
|
||||
}
|
||||
</script>
|
||||
Reference in New Issue
Block a user