1.0.6 • Published 7 years ago

v-props v1.0.6

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

v-props

Vue directive for inheriting all defined props from parent component.

Install

$ npm install v-props --save

Usage

Based on webpack

import vProps from 'v-props';
Vue.use(vProps)
<parent-component>
    <child-component v-props></child-component>
    <child-component v-props.once></child-component>
    <child-component v-props.sync></child-component>
</parent-component>

Normal script

<script src="vue.js"></script>
<script src="v-props/index.js"></script>

License

MIT

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago

0.0.0

7 years ago