You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a page with many many (near 100) routes, and every route depends on a parameter. So my router config something like that:
base: '/static'
...
path: '/:productId/x' -> for module x
path: '/:productId/y' -> for module y
...
Can I use the base for store parameter?
For example something like this:
base: '/static/:productId'
...
path: '/x' -> for module x
path: '/y' -> for module y
...
Because less code less errors :)
What does the proposed API look like?
{
...
base: '/static/:productId'
...
}
The text was updated successfully, but these errors were encountered:
Hi, thanks for your interest but Github issues are for bug reports and feature requests only. You can ask questions on the forum, the Discord server or StackOverflow.
You can have a parent route with children and set it's component option to a component that just renders it children
What problem does this feature solve?
I have a page with many many (near 100) routes, and every route depends on a parameter. So my router config something like that:
base: '/static'
...
path: '/:productId/x' -> for module x
path: '/:productId/y' -> for module y
...
Can I use the base for store parameter?
For example something like this:
base: '/static/:productId'
...
path: '/x' -> for module x
path: '/y' -> for module y
...
Because less code less errors :)
What does the proposed API look like?
The text was updated successfully, but these errors were encountered: