GithubHelp home page GithubHelp logo

weberandphper / y-components Goto Github PK

View Code? Open in Web Editor NEW

This project forked from yuyunzhi/y-components

0.0 0.0 1.0 1.52 MB

自制Vue-UI开源框架

Home Page: http://www.yuyunzhi.com/y-components

License: MIT License

JavaScript 6.65% CSS 1.19% HTML 66.30% Shell 0.11% Vue 25.75%

y-components's Introduction

Vue UI 组件库

标

作者:余咖咖

介绍

这是我在学习Vue过程中做的一个UI框架,后续在工作中会不断的更新迭代原有的代码及组件。

  • 该框架参考了element、antDesign的UI界面及API设计
  • 适应PC端和移动端
  • 使用了VuePress搭建UI框架官网
  • 目前共计17个UI组件:Button、Input、Grid、Layout、Pager、Sticky、Collapse、Cascader、Table、Popover、Toast、Slides、Tabs、Nav、表单验证、图形验证码、瀑布流布局、单/多图上传。
  • 使用vue-test-utils写单元测试,由于时间有限后期会慢慢完成所有组件的单元测试代码
  • 使用了Travis CI 持续集成
  • 第一次代码提交是在2018年10月1日

使用的技术

  • Vue.js技术栈,包括但不限于:指令及自定义指令、计算属性、class动态绑定、条件渲染、列表渲染、事件监听处理、组件注册、props及校验、插槽、动画过渡、过滤器、多种组件通信方式等
  • 设计模式:单向数据流、测试驱动开发、发布订阅模式、API正交(props)、可测试代码(在标签加入特殊的属性,方便测试的时候可以找到)
  • 单元测试、覆盖率、持续集成
  • 测试库:Chai、Karma、Sinon、Vue-test-utils、Travis CI

下载源码

  • 文件夹里包含一个demo,可以参考如何使用,注意引入的路径
  • 下载仓库代码
git clone [email protected]:yuyunzhi/y-components.git
  • 安装依赖
npm install
  • 运行
npm run serve

联系方式

License

  • MIT

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.