diff options
Diffstat (limited to 'iridescence/src/router')
-rw-r--r-- | iridescence/src/router/index.js | 27 |
1 files changed, 18 insertions, 9 deletions
diff --git a/iridescence/src/router/index.js b/iridescence/src/router/index.js index cc63967..ce48c8c 100644 --- a/iridescence/src/router/index.js +++ b/iridescence/src/router/index.js @@ -1,10 +1,12 @@ import Vue from "vue"; import VueRouter from "vue-router"; import Home from "../views/Home.vue"; -import About from "../views/About.vue"; +import Care from "../views/Care.vue"; +import Faq from "../views/Faq.vue"; import Admin from "../views/Admin.vue"; import Cart from "../views/Cart.vue"; import Checkout from "../views/Checkout.vue"; +import Privacy from "../views/Privacy.vue"; Vue.use(VueRouter); @@ -15,14 +17,6 @@ const routes = [ component: Home }, { - path: "/about", - name: "About", - // route level code-splitting - // this generates a separate chunk (about.[hash].js) for this route - // which is lazy-loaded when the route is visited. - component: About - }, - { path: "/admin", name: "Administration", component: Admin @@ -36,6 +30,21 @@ const routes = [ path: "/checkout", name: "Checkout", component: Checkout + }, + { + path: "/faq", + name: "F.A.Q.", + component: Faq + }, + { + path: "/care", + name: "Care & Handling", + component: Care + }, + { + path: "/privacy", + name: "Privacy", + component: Privacy } ]; |