1.1.0 • Published 4 years ago
like-vue v1.1.0
Links/相关链接
掘金 https://juejin.im/post/5df9fdec6fb9a0163d1a6748
Features
支持场景
- ng ts
- react
- other
技术栈(当前)
- 前端:ts,js
Project setup
npm install like-vue
Example
import {LikeVue} from 'like-vue';
export class TestComponent implements OnInit {
@LikeVue()
$watch() {
return {
// 监听的属性
"prop":(newValue,oldValue)=>{
// do something
}
};
}
}
Thanks
https://github.com/vuejs