Download components/VodGrid.vue from binhugg4/web: direct link, hf CLI and curl.
- Browser
- Download file 355 Bytes
-
https://huggingface.co/spaces/binhugg4/web/resolve/main/components/VodGrid.vue
- Command line
-
hf download hf://spaces/binhugg4/web/components/VodGrid.vue
-
curl -L -o VodGrid.vue https://huggingface.co/spaces/binhugg4/web/resolve/main/components/VodGrid.vue
355 Bytes
| <template> | |
| <div :class="gridClass"> | |
| <VodCard v-for="vod in list" :key="vod.id" :vod="vod" /> | |
| </div> | |
| </template> | |
| <script setup lang="ts"> | |
| import type { VodUserItem } from '~/types/vod' | |
| defineProps<{ list: VodUserItem[] }>() | |
| const gridClass = 'grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-4 xl:grid-cols-5 2xl:grid-cols-6 gap-3 sm:gap-4' | |
| </script> |