Install router

This commit is contained in:
benjaminramey
2019-11-21 12:28:07 -06:00
parent 1d9dc02c68
commit c42cc9e294
7 changed files with 79 additions and 14 deletions

18
web/src/views/Home.vue Normal file
View File

@@ -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>