diff options
author | HampusM <hampus@hampusmat.com> | 2022-05-17 16:05:53 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2022-05-17 16:05:53 +0200 |
commit | 775222b6518324a8cb44a800c256ca98f2a1449b (patch) | |
tree | 1cbf28cfacd03c04e0d1ddce225893da054559f2 /master/src/views | |
parent | 4c40c538af66570cc4a5a0f0b956afa98f9876db (diff) |
add master website
Diffstat (limited to 'master/src/views')
-rw-r--r-- | master/src/views/AboutView.vue | 5 | ||||
-rw-r--r-- | master/src/views/HomeView.vue | 18 |
2 files changed, 23 insertions, 0 deletions
diff --git a/master/src/views/AboutView.vue b/master/src/views/AboutView.vue new file mode 100644 index 0000000..3fa2807 --- /dev/null +++ b/master/src/views/AboutView.vue @@ -0,0 +1,5 @@ +<template> + <div class="about"> + <h1>This is an about page</h1> + </div> +</template> diff --git a/master/src/views/HomeView.vue b/master/src/views/HomeView.vue new file mode 100644 index 0000000..8e628bd --- /dev/null +++ b/master/src/views/HomeView.vue @@ -0,0 +1,18 @@ +<template> + <div class="home"> + <img alt="Vue logo" src="../assets/logo.png"> + <HelloWorld msg="Welcome to Your Vue.js + TypeScript App"/> + </div> +</template> + +<script lang="ts"> +import { Options, Vue } from 'vue-class-component' +import HelloWorld from '@/components/HelloWorld.vue' // @ is an alias to /src + +@Options({ + components: { + HelloWorld + } +}) +export default class HomeView extends Vue {} +</script> |