vue-props

Rest and spread properties for component directive

Usage no npm install needed!

<script type="module">
  import vueProps from 'https://cdn.skypack.dev/vue-props';
</script>

README

vue-props

Spread props object for vue component.

Requirements

  • Vue ^1.0

Install

npm install vue-props

or just download build/vue-props.min.js.

Usage

<component v-for="comp in cList"
            :is="comp.type"
            v-props="comp.props"></component>