diff options
Diffstat (limited to 'iridescence/src/views')
-rw-r--r-- | iridescence/src/views/About.vue | 5 | ||||
-rw-r--r-- | iridescence/src/views/Home.vue | 18 |
2 files changed, 23 insertions, 0 deletions
diff --git a/iridescence/src/views/About.vue b/iridescence/src/views/About.vue new file mode 100644 index 0000000..3fa2807 --- /dev/null +++ b/iridescence/src/views/About.vue @@ -0,0 +1,5 @@ +<template> + <div class="about"> + <h1>This is an about page</h1> + </div> +</template> diff --git a/iridescence/src/views/Home.vue b/iridescence/src/views/Home.vue new file mode 100644 index 0000000..191049e --- /dev/null +++ b/iridescence/src/views/Home.vue @@ -0,0 +1,18 @@ +<template> + <div class="home"> + <img alt="Vue logo" src="../assets/logo.png" /> + <HelloWorld msg="Welcome to Your Vue.js App" /> + </div> +</template> + +<script> +// @ is an alias to /src +import HelloWorld from "@/components/HelloWorld.vue"; + +export default { + name: "Home", + components: { + HelloWorld + } +}; +</script> |