diff options
Diffstat (limited to 'iridescence/src/router/index.js')
-rw-r--r-- | iridescence/src/router/index.js | 58 |
1 files changed, 0 insertions, 58 deletions
diff --git a/iridescence/src/router/index.js b/iridescence/src/router/index.js deleted file mode 100644 index 1dc6e63..0000000 --- a/iridescence/src/router/index.js +++ /dev/null @@ -1,58 +0,0 @@ -import Vue from "vue"; -import VueRouter from "vue-router"; -import Home from "../views/Home.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); - -const routes = [ - { - path: "/", - name: "Home", - component: Home - }, - { - path: "/admin", - name: "Administration", - component: Admin - }, - { - path: "/cart", - name: "Cart", - component: Cart - }, - { - 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 - } -]; - -const router = new VueRouter({ - mode: "history", - base: process.env.BASE_URL, - routes, - linkExactActiveClass: "is-active" -}); - -export default router; |