Vue: Defines the name of props

Created on 12 Jan 2017  ·  2Comments  ·  Source: vuejs/vue

Component properties are converted to the same name of the vm member variable, personally think that it should provide the relevant configuration to modify the component's property name.
For example, we can use the following code convert 'name' attribute to 'componentName' member variable
```html:

```html:
<my-component name="name">
feature request

Most helpful comment

What's the use case for this? I don't see the point...

All 2 comments

What's the use case for this? I don't see the point...

Closed for inactivity.

Feel free to open a new issue with an explanation of the use case

Was this page helpful?
0 / 5 - 0 ratings

Related issues

bfis picture bfis  ·  3Comments

loki0609 picture loki0609  ·  3Comments

guan6 picture guan6  ·  3Comments

aviggngyv picture aviggngyv  ·  3Comments

seemsindie picture seemsindie  ·  3Comments