【文件属性】:
文件名称:vue-property-decorator:Vue.js和Property Decorator
文件大小:88KB
文件格式:ZIP
更新时间:2021-02-06 03:00:28
typescript vue decorators vue-property-decorator vue-class-component
Vue属性装饰器
该库完全依赖于 ,因此在使用该库之前,请阅读其自述文件。
执照
麻省理工学院执照
安装
npm i -S vue-property-decorator
用法
有几个装饰器和1个功能(Mixin):
@Component (由)
Mixins (由提供的名为mixins的辅助函数)
也可以看看
@Prop(options: (PropOptions | Constructor[] | Constructor) = {})装饰器
import { Vue , Component , Prop } from 'vue-property-decorator'
@ Compone
【文件预览】:
vue-property-decorator-master
----.gitignore(125B)
----tsconfig.json(5KB)
----README.md(10KB)
----CHANGELOG.md(991B)
----.github()
--------ISSUE_TEMPLATE()
----rollup.config.js(320B)
----.prettierrc(86B)
----tests()
--------decorators()
----LICENSE(1KB)
----package.json(1KB)
----src()
--------tsconfig.json(439B)
--------decorators()
--------helpers()
--------index.ts(814B)
----jest.config.js(6KB)
----.travis.yml(80B)
----.editorconfig(147B)
----yarn.lock(154KB)