ActiveCourses.vue 473 Bytes
Newer Older
1
<template>
2
  <BlockTemplate heading="Aktive kurser" :row="row" :col="col">
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
</template>

<script>
export default {
  name: 'ActiveCourses',
12
13
14

  props: ['row', 'col'],

15
16
17
18
19
20
  data() {
    return {
      courses: ['Calculus Beta', 'Databaser', 'etc.']
    }
  }
}
21
22
23
24
25
26
27
</script>

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