Skip to content
New issue

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

How to add set parent route's meta? #388

Closed
carrypann opened this issue May 20, 2024 · 1 comment
Closed

How to add set parent route's meta? #388

carrypann opened this issue May 20, 2024 · 1 comment

Comments

@carrypann
Copy link

carrypann commented May 20, 2024

Consider the following folder structure:

src/pages/
├── users/
    └── index.vue

will generate the following routes:

const routes = [
  {
    path: '/users',
    // how to set meta here?
    children: [
      { path: '', component: () => import('src/pages/users/index.vue') },
    ],
  },
]

Is there any way to set parent route /users meta info?

@posva
Copy link
Owner

posva commented May 20, 2024

Duplicate of #33

@posva posva marked this as a duplicate of #33 May 20, 2024
@posva posva closed this as not planned Won't fix, can't repro, duplicate, stale May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants