Code Monkey home page Code Monkey logo

snippets's Introduction

代码片段

在日常开发中,往往少不了对一些第三方库进行二次封装,达到更佳的使用效果。

为了节省开发时找封装代码片段和开销效率(摸🐟时间++)

我创建了该仓库 方便大家直接拿去到项目中使用。

列表

仓库目录 目录内容说明
axios-bz 基于axios+typescript二次封装的库,可直接在项目中使用
betterScroll 在betterScroll库的基础上搭配Vue封装的滚动组件
CSS/scrollbar 美化项目中的滚动条,我的博客中的滚动条是使用了这里面的样式
message 基于element-plus组件库二次封装消息提示组件 (也有ant-design的~)
useCharts 基于echarts二次封装的hooks,使用起来更加简单高效
useDialog 基于element-plus二次封装的hooks,使用起来更加简单高效
useList 基于Vue封装的快速渲染出列表数据hooks
usePassTime 计算当前和过去某个时间的差值
useSendCode 基于Vue CompositionApi封装的发送二维码hooks
wangeditor 基于wangeditor富文本编辑器封装的Vue组件
inputNumberRange 基于ElementUI+vue封装的范围输入组件
uploadImage 基于ElementUI+vue封装的图片上传组件
dynamicTags 基于ElementUI+vue封装的动态编辑标签组件
utils/genRules 快速生成默认验证规则(async-validator & ElementUI)
utils/clearObject 快速清空对象属性值(支持自定义属性值)
fetchUtil 基于Typescript封装的fetchApi请求工具

我也想提交代码片段

如果您也有代码片段想与大家一起分享,可以提交拉取请求哦!😆😆

非常欢迎您对该代码库做出贡献!

相关文章

如果这个代码库对您有所帮助,不妨给它点一个免费的Star来支持一下作者吧!

这不仅可以让作者感到莫大的鼓舞,还能为自己在未来更快地找到这个项目!

同时也会让其他人更容易地发现这个仓库。谢谢您的支持!

snippets's People

Contributors

jiangqiang1996 avatar qc2168 avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.