All Projects → leon-kfd → howdyjs

leon-kfd / howdyjs

Licence: MIT license
一个包含Javascript插件、Vue3组件、Vue3指令的工具库

Programming Languages

Vue
7211 projects
typescript
32286 projects
javascript
184084 projects - #8 most used programming language
SCSS
7915 projects

Projects that are alternatives of or similar to howdyjs

iro
IRO - Amazing Color Tools. Color Convert HEX, RGB, HSL and CMYK. Color Inspection with Camera.
Stars: ✭ 103 (+33.77%)
Mutual labels:  vue3, vite
electron-vite-tailwind-starter
This Starter utilizes Electron, Vite and Tailwindcss in combination. It trys to adhare best practices.
Stars: ✭ 141 (+83.12%)
Mutual labels:  vue3, vite
vue-devui-early
Vue3版本的DevUI组件库。本仓库已迁移至:https://github.com/DevCloudFE/vue-devui
Stars: ✭ 39 (-49.35%)
Mutual labels:  vue3, vite
seezoon-stack
一款基于当前最前沿的前端(Vue3 + Vite + Antdv)和后台(Spring boot)实现的低代码开发平台。
Stars: ✭ 227 (+194.81%)
Mutual labels:  vue3, vite
vuejs-3-examples
Some examples of Vue.js 3.0.
Stars: ✭ 26 (-66.23%)
Mutual labels:  vue3, vite
soybean-admin
A fresh and elegant admin template, based on Vue3,Vite3,TypeScript,NaiveUI and UnoCSS [一个基于Vue3、Vite3、TypeScript、NaiveUI 和 UnoCSS的清新优雅的中后台模版]
Stars: ✭ 2,322 (+2915.58%)
Mutual labels:  vue3, vite
vueuse-vite-starter
⚡️ Starter for Vite + VueUse + TypeScript
Stars: ✭ 121 (+57.14%)
Mutual labels:  vue3, vite
vue-component-lib-starter
A bare-bones example of creating your own Vue component library.
Stars: ✭ 221 (+187.01%)
Mutual labels:  vue3, vite
mosha-vue-toastify
A light weight and fun Vue 3 toast or notification or snack bar or however you wanna call it library.
Stars: ✭ 185 (+140.26%)
Mutual labels:  vue3, vite
app
专门为互联网人打造的题解神器,神器在手,工作不愁
Stars: ✭ 64 (-16.88%)
Mutual labels:  vue3, vite
electron-vue-next
A starter template for using vue-next with the electron.
Stars: ✭ 189 (+145.45%)
Mutual labels:  rollup, vite
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 (+348.05%)
Mutual labels:  vue3, vite
Admin-Frame-Vue3
基于Vue3 + Element-Plus + Vite 开发的中/后台管理系统
Stars: ✭ 181 (+135.06%)
Mutual labels:  vue3, vite
vue-lite-admin
a lite vue3.0 admin template,there is no typescript and vuex (但注释挺全)
Stars: ✭ 67 (-12.99%)
Mutual labels:  vue3, vite
win7
Yet another OS preview via web technologies focused on Microsoft Windows 7.
Stars: ✭ 93 (+20.78%)
Mutual labels:  vue3, vite
preview-pro
Use pro-layout in vitejs. preview https://sendya.github.io/preview-pro/index.html
Stars: ✭ 71 (-7.79%)
Mutual labels:  vue3, vite
artemis
MateCloud前端代码,基于vue3、vite、pinia、ant-design vue实现的中台系统
Stars: ✭ 129 (+67.53%)
Mutual labels:  vue3, vite
fastadmin
vue3 + element-plus fast admin scaffold, 基于vue3和ElementPlus的中后台快速应用脚手架
Stars: ✭ 50 (-35.06%)
Mutual labels:  vue3, vite
rustplatz
(Inoffizielle) Website für das Rust-Projekt von Dhalucard, Bonjwa und RocketBeans
Stars: ✭ 15 (-80.52%)
Mutual labels:  vue3, vite
tailwind-layouts
Collection of Tailwind Layouts
Stars: ✭ 53 (-31.17%)
Mutual labels:  vue3, vite

Howdyjs

Star Fork Licensee Visit


一个包含Javascript插件、Vue3组件、Vue3指令的轻量工具组件库
An universal component packages of javascript plugins or tools

当前该仓库已使用Vue3 + Typescript,基于Vue2组件的旧版项目请前往howdy分支查看。

Link


组件

  1. @howdyjs/resize
    通过拖拽更改元素尺寸插件

  2. @howdyjs/img-zoom
    图片放大插件,支持按组浏览下一张图片

  3. @howdyjs/size-observer
    监听元素尺寸变化插件

  4. @howdyjs/scroll
    自定义滚动条插件

  5. @howdyjs/to-drag
    设置Dom可拖动插件

  6. @howdyjs/animation-dialog
    动画模态框Vue3组件

  7. @howdyjs/standard-tabs
    移动端标签页Vue3组件

  8. @howdyjs/mouse-menu
    自定义右键菜单Vue3组件

  9. @howdyjs/to-control
    拖拽更改元素大小与位置插件


开始使用

安装

// 新版已进行分包
npm i -S @howdyjs/XXX

// 旧版
npm i -S howdyjs

使用

  • 新版进行了分包,可按需安装相应的分包
  • 新版的Vue组件只可在Vue3中使用,而指令做了向下兼容可同时在Vue2.X中使用
  • 多数包是基于原生JS编写的,基本可直接原生使用,只是为了方便提供了VUE指令的封装形式
  • 若需要在Vue2.X中使用,可使用旧版,旧版文档 参考此处

关于项目

Packages

  • 使用lerna进行分包管理,执行npm run bootstrap项目初始化
  • 使用rollup进行打包, 执行npm run build:pkg打包各Packages,包含cjs、es和其d.ts文件

展示站点

  • 开发环境及展示站点使用vite搭建,lerna初始化、安装依赖、打包Packages,完成后执行npm run example启动
  • 站点路由文件使用import.meta.glob读取文件目录自动生成,原则上不需更改路由文件

贡献与本地开发

在项目初始化后,执行npm run backup-package-json && npm run example可使展示站点直接引用项目中Packages的代码并实现热更新,但注意开发完后要执行npm run reset-package-json恢复各包的package.json

原理是更改package.json的main字段指向开发的源文件,而发包的时候再将main字段入口文件指向打包后的index.js,后续有可能把这种方式更改为软连接的方式。


欢迎各种建议反馈与PR,感谢使用。

VIEW AUTHOR BLOG

License

All for MIT

Copyright (c) 2022 Leon.D

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