All Projects → vueuse → Vueuse

vueuse / Vueuse

Licence: mit
Collection of essential Vue Composition Utilities for Vue 2 and 3

Programming Languages

typescript
32286 projects
Vue
7211 projects
CSS
56736 projects

Projects that are alternatives of or similar to Vueuse

vue-cookie-next
A vue 3 plugin for handling browser cookies with typescript support. Load and save cookies within your Vue 3 application
Stars: ✭ 37 (-99.49%)
Mutual labels:  vue3, vue-next
codemirror-editor-vue3
CodeMirror component for Vue3
Stars: ✭ 22 (-99.7%)
Mutual labels:  vue3, vue-next
rgutil
rgutil是基于ES6创建的函数库工具
Stars: ✭ 22 (-99.7%)
Mutual labels:  utility-library, vue3
vue3-jd-h5
🔥 Based on vue3.0.0, vant3.0.0, vue-router v4.0.0-0, vuex^4.0.0-0, vue-cli3, mockjs, imitating Jingdong Taobao, mobile H5 e-commerce platform! 基于vue3.0.0 ,vant3.0.0,vue-router v4.0.0-0, vuex^4.0.0-0,vue-cli3,mockjs,仿京东淘宝的,移动端H5电商平台!
Stars: ✭ 660 (-90.95%)
Mutual labels:  vue3, vue-next
vue-unstated
A tiny state management library for Vue Composition API.
Stars: ✭ 30 (-99.59%)
Mutual labels:  vue3, vue-composition-api
bpmn-vue-activiti
基于Vue3.x + Vite + bpmn-js + element-plus + tsx 实现的Activiti流程设计器(Activiti process designer based on Vue3.x + Vite + BPMN-JS + Element-Plus + TSX implementation)
Stars: ✭ 345 (-95.27%)
Mutual labels:  vue3, vue-next
todomvc-vue-composition-api
TodoMVC built with Vue 3 Composition Api and Vuex
Stars: ✭ 105 (-98.56%)
Mutual labels:  vue3, vue-composition-api
Iconpark
🍎Transform an SVG icon into multiple themes, and generate React icons,Vue icons,svg icons
Stars: ✭ 4,924 (-32.46%)
Mutual labels:  vue3, vue-next
janak
Your next vue.js package!
Stars: ✭ 26 (-99.64%)
Mutual labels:  vue3, vue-composition-api
vue-composition-api-ts-todo
ToDo List with Vue 3 Composition API and TypeScript
Stars: ✭ 69 (-99.05%)
Mutual labels:  vue3, vue-composition-api
vue-virtualised
Blazing fast scrolling and updating for any amount of list and hierarchical data.
Stars: ✭ 18 (-99.75%)
Mutual labels:  vue3, vue-composition-api
vue-data-visualization
基于Vue3.0的“数据可视化大屏”设计与编辑器
Stars: ✭ 84 (-98.85%)
Mutual labels:  vue3, vue-next
vuse-rx
Vue 3 + rxjs = ❤
Stars: ✭ 52 (-99.29%)
Mutual labels:  vue3, vue-next
vui-vc-next
Vue 3 with Vite Playground - Mobile web UI components - (vue3+vite2).
Stars: ✭ 15 (-99.79%)
Mutual labels:  vue3, vue-composition-api
Vue3 News
🔥 Find the latest breaking Vue3、Vue CLI 3+ & Vite News. (2021)
Stars: ✭ 2,416 (-66.86%)
Mutual labels:  vue3, vue-composition-api
vue-next-rx
RxJS integration for Vue next
Stars: ✭ 31 (-99.57%)
Mutual labels:  vue3, vue-next
v-intl
Add i18n to your awesome Vue 3 app 🔉
Stars: ✭ 13 (-99.82%)
Mutual labels:  vue3, vue-composition-api
vue3-analysis
vue3源码解释😃
Stars: ✭ 120 (-98.35%)
Mutual labels:  vue3, vue-next
vue3.0-template-admin
本项目基于vue3+ElementPlus+Typescript+Vite搭建一套通用的后台管理模板;并基于常见业务场景,抽象出常见功能组件;包括动态菜单,菜单权限、登录、主题切换、国际化、个人中心、表单页、列表页、复制文本、二维码分享等等
Stars: ✭ 500 (-93.14%)
Mutual labels:  vue3, vue-next
conductor
Mix both synchronous and asynchronous code without hassle
Stars: ✭ 58 (-99.2%)
Mutual labels:  utility-library

VueUse - Collection of essential Vue Composition Utilities
Collection of essential Vue Composition Utilities

NPM version NPM Downloads Docs & Demos Function Count
GitHub stars

🚀 Features

  • 🎪 Interactive docs & demos
  • 🕶 Seamless migration: Works for both Vue 3 and 2
  • Fully tree shakable: Only take what you want, bundle size
  • 🦾 Type Strong: Written in Typescript, with TS Docs
  • 🔋 SSR Friendly
  • 🌎 No bundler required: Usable via CDN
  • 🔩 Flexible: Configurable event filters and targets
  • 🔌 Optional Add-ons: Router, Firebase, RxJS, etc.

🦄 Usage

import { useMouse, usePreferredDark, useLocalStorage } from '@vueuse/core'

export default {
  setup() {
    // tracks mouse position
    const { x, y } = useMouse()

    // is user prefers dark theme
    const isDark = usePreferredDark()

    // persist state in localStorage
    const store = useLocalStorage(
      'my-storage',
      {
        name: 'Apple',
        color: 'red',
      },
    )

    return { x, y, isDark, store }
  }
}

Refer to functions list or documentations for more details.

📦 Install

🎩 From v4.0, it works for Vue 2 & 3 within a single package by the power of vue-demi!

npm i @vueuse/core

Add ons | Nuxt Module

From v6.0, VueUse requires vue >= v3.2 or @vue/composition-api >= v1.1

Demos

CDN

<script src="https://unpkg.com/@vueuse/shared"></script>
<script src="https://unpkg.com/@vueuse/core"></script>

It will be exposed to global as window.VueUse

🪴 Project Activity

Alt

🧱 Contribute

See the Contributing Guide

🌸 Thanks

This project is heavily inspired by the following awesome projects.

And thanks to all the contributors on GitHub!

👨‍🚀 Contributors

Financial Contributors on Open Collective

📄 License

MIT License © 2019-PRESENT Anthony Fu

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].