Skip to content

Commit

Permalink
init 2
Browse files Browse the repository at this point in the history
  • Loading branch information
JerichoDing committed Feb 15, 2019
1 parent 799e23d commit ee6542e
Show file tree
Hide file tree
Showing 170 changed files with 5,262 additions and 28,076 deletions.
3 changes: 3 additions & 0 deletions .browserslistrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
> 1%
last 2 versions
not ie <= 8
7 changes: 0 additions & 7 deletions .npmignore

This file was deleted.

21 changes: 0 additions & 21 deletions LICENSE

This file was deleted.

65 changes: 23 additions & 42 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,53 +1,34 @@
# Xue-ui

![](https://img.shields.io/badge/license-MIT-000000.svg)

> 本组件库仅供学习交流,请勿在生产环境中使用
[官方文档](https://xue-ui.com.cn)
[React 实现](https://github.com/BlameDeng/xue-react)

## 安装

克隆官方仓库或者使用 npm / yarn 安装
# yo-ui

## Project setup
```
$ git clone [email protected]:BlameDeng/xue-ui.git
$ npm install xue-ui
$ yarn add xue-ui
yarn install
```

## 使用

如果使用了 npm / yarn 安装,一般在 main.js 中如下配置:

```javascript
import Vue from 'vue'
import App from 'components/app.vue'
import Xue from 'xue-ui'
import 'xue-ui/lib/xue-ui.css'
Vue.use(Xue)
new Vue({
el: '#app',
render: h => h(App)
})
### Compiles and hot-reloads for development
```
yarn run serve
```

以上代码便完成了 Xue-ui 的引入。需要注意的是,样式文件需要单独引入。
### Compiles and minifies for production
```
yarn run build
```

## 特别提醒
### Run your tests
```
yarn run test
```

使用 Xue-ui 时,您需要使用 border-box 盒模型,否则会影响样式。代码示例:
### Lints and fixes files
```
yarn run lint
```

```css
*,
*::before,
*::after {
margin: 0;
padding: 0;
box-sizing: border-box;
}
### Run your unit tests
```
yarn run test:unit
```

如果您觉得还不错,请 star
### Customize configuration
See [Configuration Reference](https://cli.vuejs.org/config/).
1 change: 0 additions & 1 deletion docs/css/app.9b01bb33.css

This file was deleted.

1 change: 0 additions & 1 deletion docs/css/chunk-04af1953.7051b252.css

This file was deleted.

1 change: 0 additions & 1 deletion docs/css/chunk-059022c4.edced4fe.css

This file was deleted.

1 change: 0 additions & 1 deletion docs/css/chunk-0cfbbad7.888eea00.css

This file was deleted.

1 change: 0 additions & 1 deletion docs/css/chunk-1f37e7d9.e0ba6585.css

This file was deleted.

1 change: 0 additions & 1 deletion docs/css/chunk-53e9630a.d2eebc5b.css

This file was deleted.

1 change: 0 additions & 1 deletion docs/css/chunk-566c242e.0c0acccb.css

This file was deleted.

1 change: 0 additions & 1 deletion docs/css/chunk-5ec199f0.38972bee.css

This file was deleted.

1 change: 0 additions & 1 deletion docs/css/chunk-64574eaa.2db651c3.css

This file was deleted.

1 change: 0 additions & 1 deletion docs/css/chunk-a3c7b6b0.a1b39e08.css

This file was deleted.

Loading

0 comments on commit ee6542e

Please sign in to comment.