JSPM

  • Created
  • Published
  • Downloads 83125
  • Score
    100M100P100Q135312F
  • License MIT

Prop types utility for Vue

Package Exports

  • vue-types

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (vue-types) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

vue-types

Prop type definitions for Vue.js. Compatible with both Vue 1.x and 2.x

Note: This document is for VueTypes 2 and above. If you are looking for an older version, refer to the v1 branch.

Introduction

vue-types is a collection of configurable prop type definitions for Vue.js components, inspired by React's prop-types.

Try it now! or learn more at the official documentation site.

Run examples

  1. Install dependencies: npm ci
  2. Run script: npm run examples
  3. Wait for the server and bundler to start-up

Contributing

  1. Clone this repository
  2. Install dependencies: npm ci
  3. Make your changes
  4. Update or add tests in test/
  5. Verify that everything works: npm run lint && npm test
  6. Submit a Pull Request

License

MIT

Copyright (c) 2020 Marco Solazzi