@vueblocks/vue-use-core
TypeScript icon, indicating that this package has built-in type declarations

0.2.11 • Public • Published

@vueblocks/vue-use-core

A Collection of Vue Compositon API Utilities.

Install

# Vue 2 with @vue/composition-api
yarn add @vue/composition-api @vueblocks/vue-use-core -S
or
npm i @vue/composition-api @vueblocks/vue-use-core -S

# Vue 3
yarn add @vueblocks/vue-use-core -S
or
npm i @vueblocks/vue-use-core -S

Usage

import { useMouse } from '@vueblocks/vue-use-core'

export default {
  setup () {
    const { x, y, remove } = useMouse()

    return {
      x,
      y
    }
  }
}

License

MIT @xiaoluoboding

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.2.1165latest

Version History

VersionDownloads (Last 7 Days)Published
0.2.1165
0.2.100
0.2.90
0.2.80
0.2.70
0.2.60
0.2.50
0.2.41
0.2.30
0.2.20
0.2.10
0.2.01
0.1.90
0.1.70
0.1.50

Package Sidebar

Install

npm i @vueblocks/vue-use-core

Weekly Downloads

67

Version

0.2.11

License

MIT

Unpacked Size

82.9 kB

Total Files

8

Last publish

Collaborators

  • xiaoluoboding