summaryrefslogtreecommitdiff
path: root/src/views
diff options
context:
space:
mode:
Diffstat (limited to 'src/views')
-rw-r--r--src/views/Home.vue10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/views/Home.vue b/src/views/Home.vue
index 55c3c08..28da86b 100644
--- a/src/views/Home.vue
+++ b/src/views/Home.vue
@@ -1,6 +1,8 @@
<template lang="pug">
main
header-blue
+ b-container
+ h2 List of commits
</template>
<script>
@@ -10,6 +12,14 @@ export default {
name: "Home",
components: {
'header-blue': HeaderBlue,
+ },
+ mounted() {
+ this.$store.dispatch('get_commits');
+ },
+ computed: {
+ commits: () => {
+ return this.$store.get.commits;
+ }
}
}
</script>