VueRouter, Pinia state management, add pages, design preferences page
This commit is contained in:
13
software/src/router/routes.ts
Normal file
13
software/src/router/routes.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
import AccountPage from "@/pages/AccountPage.vue";
|
||||
import OrdersPage from "@/pages/OrdersPage.vue";
|
||||
import PreferencesPage from "@/pages/preferencesPage/index.vue";
|
||||
import ProductsPage from "@/pages/ProductsPage.vue";
|
||||
|
||||
const routes = [
|
||||
{ path: '/', component: ProductsPage },
|
||||
{ path: '/account', component: AccountPage },
|
||||
{ path: '/orders', component: OrdersPage },
|
||||
{ path: '/preferences', component: PreferencesPage },
|
||||
]
|
||||
|
||||
export default routes
|
||||
Reference in New Issue
Block a user