1 Star 0 Fork 0

三更 / san-mui

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

san-mui

A Set of SAN Components that Implement Google's Material Design

Build Status GitHub license

使用指南

  1. 通过 npm 安装

    npm i -S san-mui
  2. 在代码中引入

    // 引入需要的组件
    import {Button, DatePicker} from 'san-mui';
    
    // 引入全部样式
    import 'san-mui/lib/index.css';

    或者希望只引入需要的组件,可以这么做:

    import Button from 'san-mui/lib/Button';
    import 'san-mui/lib/Button/Button.css';

开发指南

开发

npm run dev

测试

npm test

构建

我们的源码存放在 src,构建产物放在 lib 下;

启动构建命令:

npm run build

发布指南

发布源

只发布到 npm 上;

发布内容

发布内容应该只包含 package.json / readme.md / lib

发布版本

两周内发版本 san-mui@1.0.0-alpha 系列

两周到一个月之内版本:san-mui@1.0.0-beta

一个月至两个月内:san-mui@1.0.0-rc

最终版本 san-mui@1.0.0

san-mui@1.0.X版本对应的san的版本为3.2.3

san-mui@1.1.X版本对应的san的版本为3.5.2 源码对应的是version-3.3.x分支

MIT License Copyright (c) 2017 Baidu EFE team Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

A Set of SAN Components that Implement Google's Material Design 展开 收起
JavaScript
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
JavaScript
1
https://gitee.com/vansonx/san-mui.git
git@gitee.com:vansonx/san-mui.git
vansonx
san-mui
san-mui
master

搜索帮助