Add client side components

This commit is contained in:
2019-11-07 21:20:58 +03:00
parent 0f01d2ad01
commit 329fa48fc1
16 changed files with 7855 additions and 0 deletions

5
assets/views/About.vue Normal file
View File

@@ -0,0 +1,5 @@
<template>
<div class="about">
<h1>This is an about page</h1>
</div>
</template>

18
assets/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>