TidycodeIT / nuxt3-magento-sdk-storefront

A boilerplate storefront build with the Vue Storefront Magento 2 Integration and Storefront UI
https://vuestorefront.io/
30 stars 4 forks source link

create route middleware #8

Closed rohrig closed 1 year ago

rohrig commented 1 year ago

We can use a similar approach as V2.

detect the route type in a global middleware set the route type in app state ( I think we can just use useState( ) )

Image

rohrig commented 1 year ago

left cms for later