diff options
Diffstat (limited to 'iridescence/src/router')
-rw-r--r-- | iridescence/src/router/index.js | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/iridescence/src/router/index.js b/iridescence/src/router/index.js index 8c05e28..cc63967 100644 --- a/iridescence/src/router/index.js +++ b/iridescence/src/router/index.js @@ -3,6 +3,8 @@ import VueRouter from "vue-router"; import Home from "../views/Home.vue"; import About from "../views/About.vue"; import Admin from "../views/Admin.vue"; +import Cart from "../views/Cart.vue"; +import Checkout from "../views/Checkout.vue"; Vue.use(VueRouter); @@ -24,6 +26,16 @@ const routes = [ path: "/admin", name: "Administration", component: Admin + }, + { + path: "/cart", + name: "Cart", + component: Cart + }, + { + path: "/checkout", + name: "Checkout", + component: Checkout } ]; |