Skip to content

Teacher-Li/leo-ui

Repository files navigation

leo-ui

一个基于Vue.js的UI组件库

Usage

Using npm:

npm install leo-ui --save
import Vue from 'vue';
import leo from 'leo-ui';
import 'leo-ui/lib/leo-ui.css';

Vue.use(leo);

// 按需引用
import { Button, Select } from 'leo-ui';
import 'leo-ui/lib/leo-ui.css';

Vue.use(Button);
Vue.use(Select);

Using cdn:

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/leo-ui/lib/leo-ui.css">
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/leo-ui/lib/leo-ui.umd.min.js"></script>

Docs

1.x

License

MIT