This repository has been archived on 2021-09-06. You can view files and clone it, but cannot push or open issues or pull requests.
2021-02-08 12:00:06 +01:00
|
|
|
<template>
|
|
|
|
<ul>
|
2021-02-08 12:15:58 +01:00
|
|
|
<learning-resource
|
|
|
|
v-for="resource in storedResources"
|
|
|
|
:key="resource.id"
|
|
|
|
:title="resource.title"
|
|
|
|
:description="resource.description"
|
|
|
|
:link="resource.link"
|
|
|
|
></learning-resource>
|
2021-02-08 12:00:06 +01:00
|
|
|
</ul>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
2021-02-08 12:15:58 +01:00
|
|
|
import LearningResource from './components/resources/LearningResource';
|
|
|
|
|
2021-02-08 12:00:06 +01:00
|
|
|
export default {
|
2021-02-08 12:15:58 +01:00
|
|
|
components: {
|
|
|
|
LearningResource
|
|
|
|
},
|
2021-02-08 12:00:06 +01:00
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
storedResources: [
|
|
|
|
{
|
|
|
|
id: 'official-guide',
|
|
|
|
title: 'Oficial Guide',
|
|
|
|
description: 'The official documentation for Vue.js.',
|
|
|
|
link: 'https://vuejs.org'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 'duckduckgo',
|
|
|
|
title: 'Duckduckgo',
|
|
|
|
description: 'A search engine that values privacy.',
|
|
|
|
link: 'https://duckduckgo.com'
|
|
|
|
}
|
|
|
|
]
|
|
|
|
};
|
|
|
|
}
|
|
|
|
};
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style></style>
|