中文文档

Getting Started

step.A: make sure you can use decorators.

  1. append transform-decorators-legacy to your .babelrc file: "plugins": ["transform-decorators-legacy" ...

  2. npm i babel-plugin-transform-decorators-legacy -D

step.B: install and import.

  1. install lib to your project, npm i v-decorators.

  2. import in your component, import { Decorators } from 'v-decorators'.


Documentation









Examples

see examples project


LICENSE

MIT


This project is open-sourced on GitHub.