vue-use-collection
TypeScript icon, indicating that this package has built-in type declarations

1.4.0 • Public • Published

vue-use-collection

NPM Version NPM Downloads Build Status GitHub license Demo

🌳 Collection of useful Vue Composition API functions.

Please note that Vue 3.0 has not been released yet, therefore the installation and setup of @vue/composition-api is required for this library to work.

Install

npm install @vue/composition-api vue-use-collection

Usage

Please check the documentation to learn how to use this collection of Vue Composition API functions.

APIs

  • Sensors
    • useMedia — tracks state of a CSS media query. Demo
    • useMouse — tracks the mouse's position. Demo
  • Utils
    • getQuery — get a CSS media query string. Demo

Inspiration

Made with

Package Sidebar

Install

npm i vue-use-collection

Weekly Downloads

2

Version

1.4.0

License

MIT

Unpacked Size

16.3 kB

Total Files

19

Last publish

Collaborators

  • microcipcip