vue-use-toolkit
🛠️ A useful toolkit of Vue composition API functions.
Features
- useCountDown. Pls use countdownbar instead.
- useStorage
Package
Version | Support Vue version |
---|---|
^1.1.0 |
~2.6.14 and lower |
^2.1.0 |
^2.7.14 and above |
Installation
# yarn
$ yarn add vue-use-toolkit
# npm
$ npm i vue-use-toolkit
Setup
For Vue(~2.6)
对于 Vue@~2.6
及更早的版本。需要借助 Vue Composition API 才可使用。
For Vue(^2.7)
vue-use-toolkit@^2.x
已移除对 @vue/composition-api 的依赖,而是直接使用 vue 2.7
内置的 组合式API。
Change Log
see CHANGELOG。