Merge branch 'features/QAPage' into beta

This commit is contained in:
Raymonzut
2020-04-25 13:48:40 +02:00
3 changed files with 33 additions and 1 deletions
+2 -1
View File
@@ -2,7 +2,8 @@
<div id="app">
<div id="nav">
<router-link to="/">Home</router-link> |
<router-link to="/posts">Posts</router-link>
<router-link to="/posts">Posts</router-link> |
<router-link to="/qa">QA</router-link>
</div>
<router-view />
</div>
+6
View File
@@ -2,6 +2,7 @@ import Vue from 'vue'
import VueRouter from 'vue-router'
import Home from '../views/Home.vue'
import Posts from '../views/Posts.vue'
import QAPage from '../views/QAPage'
Vue.use(VueRouter)
@@ -16,6 +17,11 @@ const routes = [
name: "Posts",
component: Posts,
},
{
path: "/qa",
name: "QA",
component: QAPage
},
]
const router = new VueRouter({
+25
View File
@@ -0,0 +1,25 @@
<template>
<div id="QAPage">
<QA
q="What is this site about? "
a="This site is about me and the stuff I make "
></QA>
<QA
q="Why is it still so empty?"
a="Because I am framework hopping "
></QA>
</div>
</template>
<script>
import QA from '@/components/QA'
export default {
name: "QAPAge",
components: { QA }
}
</script>
<style scoped></style>