https://github.com/spikef/v-props
Vue directive for inheriting all defined props from parent component.
https://github.com/spikef/v-props
Last synced: 8 months ago
JSON representation
Vue directive for inheriting all defined props from parent component.
- Host: GitHub
- URL: https://github.com/spikef/v-props
- Owner: Spikef
- Created: 2017-02-16T03:49:17.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-02-21T03:16:34.000Z (over 9 years ago)
- Last Synced: 2024-10-11T09:02:53.650Z (over 1 year ago)
- Language: JavaScript
- Size: 4.88 KB
- Stars: 11
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# v-props
Vue directive for inheriting all defined props from parent component.
## Install
```bash
$ npm install v-props --save
```
## Usage
### Based on webpack
```javascript
import vProps from 'v-props';
Vue.use(vProps)
```
```html
```
### Normal script
```html
```
## License
MIT