diff options
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> |