Skip to content

Commit

Permalink
update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
progrape authored and bear committed Apr 7, 2016
1 parent 1ff074c commit aeccf03
Showing 1 changed file with 2 additions and 57 deletions.
59 changes: 2 additions & 57 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,55 +3,12 @@ WeUI 为微信 Web 服务量身设计 [![Build Status](https://travis-ci.org/we

## 概述

WeUI是一套同微信原生视觉体验一致的基础样式库,由微信官方设计团队为微信 Web 开发量身设计,可以令用户的使用感知更加统一。包含`button``cell``dialog``progress``toast``article``actionsheet``icon`等各式元素。
WeUI 是一套同微信原生视觉体验一致的基础样式库,由微信官方设计团队为微信 Web 开发量身设计,可以令用户的使用感知更加统一。包含`button``cell``dialog``progress``toast``article``actionsheet``icon`等各式元素。

## 视觉标准

[WeUI-Sketch](https://github.com/weui/weui-sketch)

## 使用

#### 方法一:
使用`bower`进行下载
```
bower install --save weui
```

#### 方法二:
使用`npm`进行下载
```
npm install --save weui
```

以上两种方法下载后,只需要在页面中引入`dist/style/weui.css`或者`dist/style/weui.min.css`其中之一即可. 例如:

```html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0">
<title>WeUI</title>
<link rel="stylesheet" href="path/to/weui/dist/style/weui.min.css"/>
</head>
<body>

</body>
</html>
```

## 开发

```
git clone https://github.com/weui/weui.git
cd weui
npm install -g gulp
npm install
npm start
```
运行`npm start`命令,会监听`src`目录下所有文件的变更,并且默认会在`8080`端口启动服务器,然后在浏览器打开 `http://localhost:8080/example`


## 手机预览

请用微信扫码
Expand All @@ -60,25 +17,13 @@ npm start

[http://weui.github.io/weui/](http://weui.github.io/weui)


## 第三方扩展

- [lihongxun945/jquery-weui](http://lihongxun945.github.io/jquery-weui/components)
- [kevyu/weui-sass](https://github.com/kevyu/weui-sass)
- [Eric-Guo/weui-rails](https://github.com/Eric-Guo/weui-rails)(Using kevyu/weui-sass)
- [n7best/react-weui](https://github.com/n7best/react-weui)
- [aidenzou/vue-weui](https://github.com/aidenzou/vue-weui)
- [adcentury/vue-weui](https://github.com/adcentury/vue-weui)
- [ZTfer/weui-sketch](https://github.com/ZTfer/weui-sketch)
- [i5ting/weui-practice](https://github.com/i5ting/weui-practice)
- [airyland/vux](https://github.com/airyland/vux)

## 文档

WeUI 说明文档参考 [Wiki](https://github.com/weui/weui/wiki)

## License
The MIT License(http://opensource.org/licenses/MIT)

请自由地享受和参与开源

## 贡献
Expand Down

0 comments on commit aeccf03

Please sign in to comment.