$ npm install @vueuse/core
Collection of essential Vue Composition API (inspired by react-use)
🚧 Working in progress...
npm i @vueuse/core@next
npm i @vue/composition-api
npm i @vueuse/core
Please register the Composition API Plugin before other using APIs.
<!-- For Vue 3.x -->
<script src="https://unpkg.com/@vueuse/core@next"></script>
<!-- For Vue 2.x -->
<script src="https://unpkg.com/@vueuse/core"></script>
It will be exposed to global variable window.VueUse
You can checkout the documents and live demos in Storybook.
More functions to be added. Please keep turned. (PRs are also welcome!)
MIT License © 2019-2020 Anthony Fu
© 2010 - cnpmjs.org x YWFE | Home | YWFE