diff options
author | Helianthella <git@gumi.ca> | 2020-12-22 00:06:42 -0500 |
---|---|---|
committer | Helianthella <git@gumi.ca> | 2020-12-22 00:06:47 -0500 |
commit | b90bbeab7c1435518224496821ff3449476c458d (patch) | |
tree | e543aefb386a69bbe4b5d9fc73ebfb4c73c9361f /src/views/NewsArchive.vue | |
parent | f9c051e61da67b93ed3c9aba3d77bced80e1503e (diff) | |
download | website-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/NewsArchive.vue')
-rw-r--r-- | src/views/NewsArchive.vue | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/views/NewsArchive.vue b/src/views/NewsArchive.vue new file mode 100644 index 0000000..c34e334 --- /dev/null +++ b/src/views/NewsArchive.vue @@ -0,0 +1,25 @@ + +<template> + <main class="main-content"> + <h1>News archive</h1> + <News :count="Infinity"/> + </main> +</template> + +<style scoped> +.main-content h1 { + margin-bottom: 0; +} +</style> + +<script lang="ts"> +import { Options, Vue } from "vue-class-component"; +import News from "@/components/News.vue"; + +@Options({ + components: { + News, + }, +}) +export default class NewsV extends Vue {} +</script> |