Cue - short for MrCai's Vue - is a light-weight MVVM framework. Features include:
- Two-way binding between view and model. (Proxy + Subscribers)
- Native TypeScript support.
- Handy directives, e.g.
c-bind
、c-on
、c-model
.
@mrcaidev/cue
is available in npm registry.
npm i @mrcaidev/cue # npm
yarn add @mrcaidev/cue # yarn
pnpm add @mrcaidev/cue # pnpm
For detailed usage, please refer to the documentation.
Any contributions will be welcome and greatly appreciated.
If something goes wrong, please open an issue to help us improve.
If you have an idea of a new hook, or a better solution for an existing hook, please fork this repository and create a pull request.
You can always open an issue, or directly contact the author via mrcaidev@qq.com.