All Projects → xus-code → vue-reuse

xus-code / vue-reuse

Licence: MIT license
基于composition-api的hooks函数库

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to vue-reuse

vue-next-rx
RxJS integration for Vue next
Stars: ✭ 31 (+10.71%)
Mutual labels:  vue3, vue-hooks, composition-api
vue-magnify
vue-magnify / vue放大镜组件
Stars: ✭ 14 (-50%)
Mutual labels:  vue3, vue-hooks
vue-unstated
A tiny state management library for Vue Composition API.
Stars: ✭ 30 (+7.14%)
Mutual labels:  vue3, composition-api
vue-snippets
Visual Studio Code Syntax Highlighting For Vue3 And Vue2
Stars: ✭ 25 (-10.71%)
Mutual labels:  vue3, composition-api
vue3-form-validation
Vue Composition Function for Form Validation
Stars: ✭ 18 (-35.71%)
Mutual labels:  vue3, composition-api
v-intl
Add i18n to your awesome Vue 3 app 🔉
Stars: ✭ 13 (-53.57%)
Mutual labels:  vue3, composition-api
v-bucket
📦 Fast, Simple, and Lightweight State Manager for Vue 3.0 built with composition API, inspired by Vuex.
Stars: ✭ 42 (+50%)
Mutual labels:  vue3, composition-api
vuelve
A declarative syntax for the Composition API in Vue 3.
Stars: ✭ 38 (+35.71%)
Mutual labels:  vue3, composition-api
vue3-realworld-example-app
Explore the charm of Vue composition API! Vite?
Stars: ✭ 364 (+1200%)
Mutual labels:  vue3, composition-api
vue3-demo
💡 vue3新特性示例: 响应式API、组合式API、TodoMVC
Stars: ✭ 114 (+307.14%)
Mutual labels:  vue3, composition-api
v-pip
🖼 Tiny vue wrapper for supporting native picture-in-picture mode.
Stars: ✭ 30 (+7.14%)
Mutual labels:  vue3, composition-api
2019-ncov-vue3-version
新型冠状病毒实时疫情 Vue-Compostion-Api版本 (Vue3 + TypeScript)
Stars: ✭ 55 (+96.43%)
Mutual labels:  vue3, composition-api
Vue3 News
🔥 Find the latest breaking Vue3、Vue CLI 3+ & Vite News. (2021)
Stars: ✭ 2,416 (+8528.57%)
Mutual labels:  vue3, composition-api
vuse-rx
Vue 3 + rxjs = ❤
Stars: ✭ 52 (+85.71%)
Mutual labels:  vue3, composition-api
md-editor-v3
Markdown editor for vue3, developed in jsx and typescript, dark theme、beautify content by prettier、render articles directly、paste or clip the picture and upload it...
Stars: ✭ 326 (+1064.29%)
Mutual labels:  vue3
electron-admin-element-vue
Electron Vue3.x Element-UI Admin
Stars: ✭ 37 (+32.14%)
Mutual labels:  vue3
car-assembly
基于Vue3.0+WebGL+Nestjs搭建的汽车组装演示系统
Stars: ✭ 44 (+57.14%)
Mutual labels:  vue3
fastify-vite
This plugin lets you load a Vite client application and set it up for Server-Side Rendering (SSR) with Fastify.
Stars: ✭ 497 (+1675%)
Mutual labels:  vue3
vuniversal
[WIP] Create vue (3) universal web applications quickly by @vitejs.
Stars: ✭ 20 (-28.57%)
Mutual labels:  vue3
vue3-chat
2021👨‍🎓Vue2/3全家桶 + Koa+Socket+Vant3前后端分离移动端聊天应用。vue+node全栈入门项目
Stars: ✭ 46 (+64.29%)
Mutual labels:  vue3

vue-reuse

基于 composition-api 的 hooks 函数库

Lint Test Build Status Deploy Docs license scan codecov

特性

  • 采用typescript实现,提供良好的类型提示
  • 从基础逻辑到业务逻辑,提供多种组合函数(WIP)

参与开发

  • 运行 yarn 安装依赖
  • 运行 yarn lint 校验代码风格
  • 运行 yarn format 格式化所有 ts 代码
  • 运行 yarn cm 执行交互式 commit-msg 生成
  • 运行 yarn test 执行单元测试,可支持 jest 相关参数
  • 运行 yarn docs:dev 启动开发环境下文档系统

目录结构

当前项目采用独立 npm 包的形式来管理,基于 ts 开发;

  1. docs 中使用的是 vuepress 来构建文档项目,每个不同文件夹放置不同分类中的 vue-reuse 文档, 可参照现有案例编写。

  2. __test__ 中存放相应 hooks 的测试用例,如果遇到复杂 hooks 请在 __test__ 下建立相应的文件夹。

  3. scripts 中存放 发布、打包两个脚本

  4. src 下存放 hooks 实现逻辑

  5. src/shared 下存放共用逻辑和类型文件

提交规范

提交信息请严格遵循 angular 团队风格,通过交互式的方式来创建(会在 git-hooks 中进行校验拦截)

gitflows规范

API规范

开发指南

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].