We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It will be great if we can add option to activate item that match with certain URL that not define in list of item 'name' props
item
the default:
export default { data() { return { items: [ { name: 'Products', children: [ { name: 'Shoes', path: 'shoes' , } ] }, ], }; }, };
what if we want 'Shoes' item active if current URL is eg('shoes/detail/1358993' or '/shoes/popular'), maybe with settings like this:
export default { data() { return { items: [ { name: 'Products', children: [ { name: 'Shoes', path: 'shoes' , otherPaths:[ 'shoes/detail/[\\d]{1,20}', //using regex 'shoes/popular', ], } ] }, ], }; }, };
The text was updated successfully, but these errors were encountered:
Hi, something like that is quite easy to add and might be useful, I've just labeled is as a feature request.
Sorry, something went wrong.
chellem
No branches or pull requests
It will be great if we can add option to activate item that match with certain URL that not define in list of
item
'name' propsthe default:
what if we want 'Shoes' item active if current URL is eg('shoes/detail/1358993' or '/shoes/popular'), maybe with settings like this:
The text was updated successfully, but these errors were encountered: