ActiveCourses.vue 424 Bytes
Newer Older
1
<template>
2
  <BlockTemplate heading="Aktive kurser">
3
    <ul>
4
      <li v-for="(course, index) in courses" :key="index"><a href="/about">{{ course }}</a></li>
5
    </ul>
6
  </BlockTemplate>
7
8
9
10
11
12
13
14
15
16
17
</template>

<script>
export default {
  name: 'ActiveCourses',
  data() {
    return {
      courses: ['Calculus Beta', 'Databaser', 'etc.']
    }
  }
}
18
19
20
21
22
23
24
</script>

<style scoped lang="scss">
  .block{
    min-width: 250px;
  }
</style>