GithubHelp home page GithubHelp logo

hj-rookie / mzl-ui Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ningstyle/mzl-ui

0.0 0.0 0.0 8.91 MB

vue3版本前端UI组件库

License: MIT License

HTML 0.15% JavaScript 5.38% Vue 89.50% CSS 4.98%

mzl-ui's Introduction

mzl-ui

你,我生命中一个重要的过客,之所以是过客,因为你未曾为我停留!
version:0.7.6

description: 一套适合开发者使用的轻量级UI组件库,完美支持vite+vue3,更小的体积,更快的响应,更强的拓展性,更完美的支持,更友好的渲染

  • "vite"
  • "vue3"
  • "ui"

官网主页: mzl-ui使用文档


快速使用

npm install  mzl-ui --save
cnpm install  mzl-ui --save

引入

import { createApp } from 'vue'
import App from '@/App.vue'
import mzlUi from 'mzl-ui'
import '../node_modules/mzl-ui/dist/style.css'

const app = createApp(App)
app.use(mzlUi)
app.mount('#app')

按需引用

import { mButton, mInput } from 'mzl-ui'

愉快开始

<m-button>默认按钮</m-buttonn> 
<m-button type="primary">主要按钮</m-button>

问题反馈

  • 如果您在使用中存在bug或者有更超前的**或者解决方案,不限于新的组件、新的模式,您可以在Issue提交问题,我们会定时进行维护并回复。

联系我们

  • 如果您想加入我们,您可以通过邮件:[email protected],或者添加进群:


贡献指南

  • 首先非常感谢您能选择为mzl-ui做出贡献,mzl-ui是基于vue3.2开发,mzl-ui离不开大家的共同贡献和维护,如果您想参与贡献,请阅读以下内容。

Issue 规范

  • 在提交 issue 之前,请搜索相关内容是否已被提出。
  • 请说明 mzl-ui 和 Vue 的版本号,并提供操作系统和浏览器信息。推荐使用 JSFiddle 生成在线 demo,这能够更直观地重现问题。

Pull Request 规范

  • 请先 fork 一份到自己的项目下,不要直接在仓库下建分支。
  • commit 信息要以[组件名]: 描述信息 的形式填写,例如 Button: fix xxx bug。
  • 执行 npm run build 后可以正确打包文件。
  • 提交 PR 前请 rebase,确保 commit 记录的整洁。
  • 确保 PR 是提交到 dev 分支,而不是 main 分支。
  • 如果是修复 bug,请在 PR 中给出描述信息。
  • 合并代码会有专人审核,避免滥用植入等,审核通过后即可合并。

开发环境

  • 首先你需要 Node.js 14+,yarn 和 npm 6+。

组件开发规范

  • 通过 make new 创建组件目录结构,包含测试代码、入口文件、文档
  • 组件内如果依赖了其他组件,需要在当前组件内引入,参考 Select

代码规范

  • 避免过多的html代码累赘,秉承数据驱动视图**,简化使用繁琐度,提供更强的拓展性
  • 色彩范围请参考:https://mzlui.codeym.com/#/mzlui/color
  • 其他规范正在完善

mzl-ui's People

Contributors

ningstyle avatar potato-x 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.