vueposu
A hooks library based on Vue Composition-API
1,363
15
| Install | |
|---|---|
npm install vueposu |
|
| Latest Version: | 0.4.5 |
| Vue: | 2 · 3 |
| License: | MIT |
| Last Updated: | Feb 20, 2023 |
| Links: | GitHub · npm |
Maintainer: glitchboyl
VUEPOSU
🧭 Vue's Eternal Pose (永久指针, 永久指針エターナルポース, Etānaru Pōsu)
(A hooks library based on Vue Composition-API)
📦 INSTALLATION
Vueposu supports both Vue 3 and 2, but if you are using Vue 2 must ensure installed @vue/composition-api.
Vue 3
# install with npm
npm i vueposu
# install with yarn
yarn add vueposu
Vue 2
# install with npm
npm i vueposu @vue/composition-api
# install with yarn
yarn add vueposu @vue/composition-api
🍳 USAGE
import { useCounter } from "vueposu";
const Component = defineComponent({
setup() {
// create a counter
const { count, inc, dec, set, reset } = useCounter(0);
return {
count,
inc,
dec,
set,
reset,
};
},
});
🚀 API
Currently supported functions:
-
DOM
-
SENSORS
-
STATE
-
SWR
-
CACHE
-
SIDE EFFECT
-
ANIMATION
Thanks
In no particular order, vueposu is inspired by these great awesome works:
License
Related Packages
@cfcs/vue3
Write once, create framework components that supports React, Vue, Svelte, and mo...
228,245
119
@cfcs/vue2
Write once, create framework components that supports React, Vue, Svelte, and mo...
33,545
119
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 0.4.5 | ^2.6.14 || | MIT | |
| 0.4.4 | ^2.6.14 || | MIT | |
| 0.3.7 | ^2.0.0 || | MIT | |
| 0.3.6 | ^2.0.0 || | MIT | |
| 0.3.5 | ^2.0.0 || | MIT | |
| 0.3.4 | ^2.0.0 || | MIT | |
| 0.3.3 | ^2.0.0 || | MIT | |
| 0.3.2 | ^2.0.0 || | MIT | |
| 0.3.1 | ^2.0.0 || | MIT | |
| 0.3.0 | ^2.0.0 || | MIT | |
| 0.2.9 | ^2.0.0 || | MIT | |
| 0.2.8 | ^2.0.0 || | MIT | |
| 0.2.7 | ^2.0.0 || | MIT | |
| 0.2.6 | ^2.0.0 || | MIT | |
| 0.2.5 | ^2.0.0 || | MIT | |
| 0.2.4 | ^2.0.0 || | MIT | |
| 0.2.3 | ^2.0.0 || | MIT | |
| 0.2.2 | ^2.0.0 || | MIT | |
| 0.2.1 | ^2.0.0 || | MIT | |
| 0.2.0 | ^2.0.0 || | MIT | |
| 0.1.61 | ^2.0.0 || | MIT | |
| 0.1.9 | ^2.0.0 || | MIT | |
| 0.1.8 | ^2.0.0 || | MIT | |
| 0.1.7 | ^2.0.0 || | MIT | |
| 0.1.6 | ^2.0.0 || | MIT | |
| 0.1.5 | ^2.0.0 || | MIT | |
| 0.1.4 | ^2.0.0 || | MIT | |
| 0.1.3 | ^2.0.0 || | MIT | |
| 0.1.2 | ^2.0.0 || | MIT | |
| 0.1.1 | ^2.0.0 || | MIT |
Showing the latest 30 of 41. See every release on npm
Pre-releases (12)
| Version | Released | Vue | License |
|---|---|---|---|
| 0.4.4-1 | ^2.6.14 || | MIT | |
| 0.4.3-1 | ^2.6.14 || | MIT | |
| 0.4.2-3 | ^2.6.14 || | MIT | |
| 0.4.2-2 | ^2.6.14 || | MIT | |
| 0.4.2-1 | ^2.6.14 || | MIT | |
| 0.3.8-3 | ^2.0.0 || | MIT | |
| 0.3.8-2 | ^2.0.0 || | MIT | |
| 0.3.7-5 | ^2.0.0 || | MIT | |
| 0.3.7-4 | ^2.0.0 || | MIT | |
| 0.3.7-3 | ^2.0.0 || | MIT | |
| 0.3.7-2 | ^2.0.0 || | MIT | |
| 0.3.7-1 | ^2.0.0 || | MIT |