Files
test-repo/docs/.vitepress/theme/components/ArticleGrid.vue
T
sanbuphy 0eba9e87e9 fix(eslint): reduce warnings in GitHub Actions deployment
- Disable formatting rules (handled by Prettier)
- Relaxed strict Vue/JS rules for demo code compatibility
- Fix syntax errors in ApiPlayground and VoiceCloningDemo
- Fix duplicate else-if condition in ApiPlayground
- Fix Promise executor async pattern in AutoregressiveAudioDemo
- Add TypeScript file support to ESLint config

Warnings reduced from 295 to 251 problems.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-18 17:38:10 +08:00

31 lines
472 B
Vue

<script setup>
import ArticleCard from './ArticleCard.vue'
defineProps({
items: {
type: Array,
required: true
}
})
</script>
<template>
<div class="article-grid">
<ArticleCard
v-for="(item, i) in items"
:key="i"
v-bind="item"
/>
</div>
</template>
<style scoped>
.article-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
gap: 20px;
margin-top: 24px;
margin-bottom: 48px;
}
</style>