37 lines
1.0 KiB
Vue
37 lines
1.0 KiB
Vue
<template lang="pug">
|
||
div
|
||
h1 PHP
|
||
.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: 'PHP the right way',
|
||
desc: 'There’s a lot of outdated information on the Web that leads new PHP users astray, propagating bad practices and insecure code. PHP: The Right Way is an easy-to-read, quick reference for PHP popular coding standards, links to authoritative tutorials around the Web and what the contributors consider to be best practices at the present time.',
|
||
url: 'https://phptherightway.com'
|
||
},
|
||
{
|
||
title: 'The PHP manual',
|
||
desc: 'Manual to PHP documenting the whole spec.',
|
||
url: 'https://www.php.net/manual/en/'
|
||
},
|
||
]
|
||
}
|
||
},
|
||
components: {
|
||
Card
|
||
}
|
||
}
|
||
</script>
|
||
|
||
<style lang="scss" scoped>
|
||
</style>
|