@fext/vue-use
v0.1.1
Published
Use Vue Composition API Right Now
Downloads
4
Readme
Vue Use
Use Vue Composition API Right Now.
Note: Currently only Vue.js 2.x is supported. Since Vue.js has released a beta version of 3.0, this library will support the latest version of Vue.js for the first time.
Quick Start
Installation
npm i @fext/vue-use
Usage
import { useLoading } from '@fext/vue-use';
export default {
name: 'example-component',
setup() {
const { loading, withLoading } = useLoading();
return {
loading,
withLoading
};
}
};
Docs
Features
useResize
-- trackswindow
dimensions.useLoading
-- loading status of asynchronous task.useForm
-- manage, watch, and synchronize state of complex form.useFormElement
-- create custom form components that supportv-model
.useTable
-- manage, watch, and synchronize state of complex table.- ...
More features are coming soon...
Built With
License
Copyright (c) 2020 - present, Felix Yang