fix: export payment client types for production build
Co-Authored-By: Craft Agent <agents-noreply@craft.do>
This commit is contained in:
@@ -1,10 +1,12 @@
|
||||
import { createRouter, createWebHistory } from 'vue-router'
|
||||
import Overview from './views/Overview.vue'
|
||||
import CustomerPortal from './views/CustomerPortal.vue'
|
||||
import Checkout from './views/Checkout.vue'
|
||||
export default createRouter({
|
||||
history: createWebHistory(),
|
||||
routes: [
|
||||
...[{path:'/',view:'dashboard'},{path:'/licenses',view:'licenses'},{path:'/customers',view:'customers'},{path:'/products',view:'products'},{path:'/orders',view:'orders'},{path:'/releases',view:'releases'},{path:'/integration',view:'integration'},{path:'/audit',view:'audit'},{path:'/settings',view:'settings'},{path:'/admins',view:'admins'}].map(({path,view})=>({path,component:Overview,meta:{view}})),
|
||||
...[{path:'/',view:'dashboard'},{path:'/licenses',view:'licenses'},{path:'/customers',view:'customers'},{path:'/products',view:'products'},{path:'/orders',view:'orders'},{path:'/payments',view:'payments'},{path:'/releases',view:'releases'},{path:'/integration',view:'integration'},{path:'/audit',view:'audit'},{path:'/settings',view:'settings'},{path:'/admins',view:'admins'}].map(({path,view})=>({path,component:Overview,meta:{view}})),
|
||||
{path:'/checkout',component:Checkout,meta:{public:true}},
|
||||
{path:'/customer',component:CustomerPortal},
|
||||
{path:'/:pathMatch(.*)*',redirect:'/'}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user