1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
| <template>
| <stored-resources :resources="storedResouces"> </stored-resources>
| </template>
|
| <script>
| import StoredResources from './components/learning-resource/StoredResource.vue';
|
| export default {
| components: {
| StoredResources: StoredResources,
| },
| data() {
| return {
| storedResouces: [
| {
| id: 'official-guide',
| title: 'Official Guide',
| description: 'The official Vue.js documentation',
| link: 'https://vuejs.org',
| },
| {
| id: 'google',
| title: 'Google',
| description: 'Learn to google...',
| link: 'https://google.com',
| },
| ],
| };
| },
| };
| </script>
|
| <style>
| @import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');
|
| * {
| box-sizing: border-box;
| }
|
| html {
| font-family: 'Roboto', sans-serif;
| }
|
| body {
| margin: 0;
| }
| </style>
|
|