1.0.6 • Published 8 years ago

v-props v1.0.6

Weekly downloads
2
License
MIT
Repository
github
Last release
8 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

8 years ago

1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago

0.0.0

8 years ago