Git Product home page Git Product logo

vui's Introduction

Version Downloads License TravisCI

It's a A personal Vue UI component library .

效果预览

请扫描以下二维码

安装

npm 安装

npm i x-vui -S

CDN

<!-- 引入样式 -->
<link rel="stylesheet" href="https://unpkg.com/x-vui/lib/vui-css/index.css">
<!-- 引入组件库 -->
<script src="https://unpkg.com/x-vui/lib/vui.js"></script>

快速开始

完整引入

import Vue from 'vue'
import vui from 'x-vui'
import 'x-vui/lib/vui-css/index.css';

Vue.use(vui)

部分引入

import Vue from 'vue'
import {
  Scroller,
  Select
  // ...
} from 'x-vui'
import 'x-vui/lib/vui-css/scroller.css';
import 'x-vui/lib/vui-css/select.css';

Vue.component(Scroller.name, Scroller)
Vue.component(Select.name, Select)

引入插件

注:完整引入了vui,则无需再注册插件

import Vue from 'vue';
import { 
  $Toast, 
  $Dialog 
  // ...
} from 'x-vui';

Vue.prototype.$toast = $Toast
Vue.prototype.$dialog = $Dialog

贡献代码

修改代码请阅读 开发指南, 使用过程中发现任何问题都可以提 Issue 给我。当然,我也非常欢迎你给我发 PR

开源协议

本项目基于 MIT 协议,请自由地享受和参与开源。

特别感谢

该组件库部分灵感来自于 elementvant,这里感谢 饿了么前端团队有赞前端团队 对开源项目的贡献,手动点波赞 👍

vui's People

Contributors

kalasoo avatar tomision avatar xuqiang521 avatar

Watchers

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