@fext/vue-use

0.1.1 • Public • Published

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.

CircleCI codecov GitHub Version

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 -- tracks window dimensions.
  • useLoading -- loading status of asynchronous task.
  • useForm -- manage, watch, and synchronize state of complex form.
  • useFormElement -- create custom form components that support v-model.
  • useTable -- manage, watch, and synchronize state of complex table.
  • ...

More features are coming soon...

Built With

License

MIT

Copyright (c) 2020 - present, Felix Yang

Readme

Keywords

Package Sidebar

Install

npm i @fext/vue-use

Weekly Downloads

3

Version

0.1.1

License

MIT

Unpacked Size

41.4 kB

Total Files

13

Last publish

Collaborators

  • felixpy