Files
webgems/pages/daily/index.vue
André Weller 005ffa626c add contents
2019-05-15 16:44:42 +02:00

36 lines
834 B
Vue

<template lang="pug">
div
h1 Daily
.cards
template(v-for='resource in resources')
Card(:title='resource.title' :desc='resource.desc' :url='resource.url')
</template>
<script>
import Card from '../../components/Card'
export default {
data() {
return {
resources: [
{
title: 'dev.to',
desc: 'Where programmers share ideas and help each other grow. It is an online community for sharing and discovering great ideas, having debates, and making friends.',
url: 'https://www.dev.to'
},
{
title: 'CSS Tricks',
desc: 'Daily webdev related articles, snippets and guides since 2007',
url: 'https://css-tricks.com/'
},
]
}
},
components: {
Card
}
}
</script>
<style lang="scss" scoped>
</style>