summaryrefslogtreecommitdiff
path: root/src/views/Home.vue
diff options
context:
space:
mode:
authorHelianthella <git@gumi.ca>2020-12-22 00:06:42 -0500
committerHelianthella <git@gumi.ca>2020-12-22 00:06:47 -0500
commitb90bbeab7c1435518224496821ff3449476c458d (patch)
treee543aefb386a69bbe4b5d9fc73ebfb4c73c9361f /src/views/Home.vue
parentf9c051e61da67b93ed3c9aba3d77bced80e1503e (diff)
downloadwebsite-b90bbeab7c1435518224496821ff3449476c458d.tar.gz
website-b90bbeab7c1435518224496821ff3449476c458d.tar.bz2
website-b90bbeab7c1435518224496821ff3449476c458d.tar.xz
website-b90bbeab7c1435518224496821ff3449476c458d.zip
upgrade to Vue 3, switch to yarn
implies a slight refactor
Diffstat (limited to 'src/views/Home.vue')
-rw-r--r--src/views/Home.vue6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/views/Home.vue b/src/views/Home.vue
index 4fba7b6..b0a7b11 100644
--- a/src/views/Home.vue
+++ b/src/views/Home.vue
@@ -7,7 +7,7 @@
</div>
<h1>Recent News</h1>
- <News count="1"/>
+ <News :count="1"/>
<div class="read-more">
<router-link :to="{ name: 'news' }">More News >></router-link>
</div>
@@ -33,10 +33,10 @@
</style>
<script lang="ts">
-import { Component, Vue } from "vue-property-decorator";
+import { Options, Vue } from "vue-class-component";
import News from "@/components/News.vue";
-@Component({
+@Options({
components: {
News,
},