vue-prop-helper

0.1.0 • Public • Published

Build Status Coverage Status

vue-prop-helper

Vue prop validation helper

Install

npm i vue-prop-helper

Usage

import ph from 'vue-prop-helper';
 
props: {
  firstName: ph.string.required(),
  lastName: ph(),
  age: ph.number.default(100)()
}

Package Sidebar

Install

npm i vue-prop-helper

Weekly Downloads

2

Version

0.1.0

License

MIT

Unpacked Size

6.72 kB

Total Files

8

Last publish

Collaborators

  • wmzy