-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Description
What problem does this feature solve?
seems like vue-router can not passing attributes to the view component?
const routes = [
{
path: "/dashboard/profile",
name: "DashboardProfile",
component: <DashboardProfile foobar="false"/>, // <--- I want to get this available
},
];
What does the proposed API look like?
const routes = [
{
path: "/dashboard/profile",
name: "DashboardProfile",
component: DashboardProfile,
componentAttributes: { foobar: false },
},
];
Metadata
Metadata
Assignees
Labels
No labels