Store products in a basket, display list of products in basket
This commit is contained in:
@@ -3,6 +3,7 @@ import OrdersPage from "@/pages/OrdersPage.vue";
|
||||
import PreferencesPage from "@/pages/preferencesPage/index.vue";
|
||||
import ProductsPage from "@/pages/productsPage/index.vue";
|
||||
import LoginPage from "@/pages/loginPage/index.vue"
|
||||
import BasketPage from "@/pages/basketPage/index.vue"
|
||||
|
||||
const routes = [
|
||||
{ path: '/products', component: ProductsPage },
|
||||
@@ -10,6 +11,7 @@ const routes = [
|
||||
{ path: '/orders', component: OrdersPage },
|
||||
{ path: '/preferences', component: PreferencesPage },
|
||||
{ path: '/login', component: LoginPage },
|
||||
{ path: '/basket', component: BasketPage }
|
||||
]
|
||||
|
||||
export default routes
|
||||
Reference in New Issue
Block a user