From e18bdd2e2979aa44383d7d4fd5cc47abc7bdc426 Mon Sep 17 00:00:00 2001
From: Raymonzut <40148684+Raymonzut@users.noreply.github.com>
Date: Sat, 25 Apr 2020 13:48:06 +0200
Subject: [PATCH] Add /qa route for QAPage
---
client/src/App.vue | 3 ++-
client/src/router/index.js | 6 ++++++
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/client/src/App.vue b/client/src/App.vue
index 2da6827..2579ba5 100644
--- a/client/src/App.vue
+++ b/client/src/App.vue
@@ -2,7 +2,8 @@
Home |
- Posts
+ Posts |
+ QA
diff --git a/client/src/router/index.js b/client/src/router/index.js
index ab8ee60..a83440c 100644
--- a/client/src/router/index.js
+++ b/client/src/router/index.js
@@ -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({