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

37 lines
1.0 KiB
Vue
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<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: 'Theres 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>