0.0.10 • Published 4 years ago

o-coui v0.0.10

Weekly downloads
-
License
ISC
Repository
-
Last release
4 years ago

一个ui组件库

Build Status 作者:ococa

介绍

开始使用

  1. 添加css样式 使用本框架前,请在css 中开启 border-box
*, *::before, *::after{ box-sizing: border-box }

还需要设置默认颜色等变量

:root {
    --button-height: 32px;
    --font-size: 14px;
    --button-bg: white;
    --button-active-bg: #eee;
    --button-border-radius: 4px;
    --color: #999;
    --border-color: #999;
    --border-color-horver: #666;
}
  1. install
npm i --save o-coui
  1. import 'o-coui'
import { Button } from 'o-coui';
import 'o-coui/dist/index.css';

export default {
  name: 'app',
  components: {
    Button
  }
}
  1. import svg symbols
<script src="//at.alicdn.com/t/font_1590521_wqo0d4mj94.js"></script>

文档

提问

变更记录

联系方式

贡献代码

0.0.10

4 years ago

0.0.9

4 years ago

0.0.8

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago