Skip to content

Pass down route props to $attrs #1695

Closed
@posva

Description

Version

2.7.0

Reproduction link

https://www.webpackbin.com/bins/-Ks8plb2Lsqpt8Po3Rxg

Steps to reproduce

Click on the different links

What is expected?

Passing props in the route object:

{ path: '/', component: Hello, props: { name: 'world' }},

should appear in $attrs as long as name is not declared as a prop in Hello.vue

What is actually happening?

no prop


moved from vuejs/vue#6426

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions