san-mui

1.1.5 • Public • Published

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分支

/san-mui/

    Package Sidebar

    Install

    npm i san-mui

    Weekly Downloads

    4

    Version

    1.1.5

    License

    MIT

    Unpacked Size

    3.3 MB

    Total Files

    632

    Last publish

    Collaborators

    • okaychen
    • zttonly
    • gkiwi001
    • ovilia
    • 100pah
    • ecomfe-core
    • ecomfe-admin
    • otakustay
    • leeight
    • justineo
    • gdjinbo
    • luyuan
    • errorrik
    • ksky521
    • lang
    • jinzhan
    • ludafa
    • kekee000
    • asd123freedom