Code Monkey home page Code Monkey logo

nowui's Introduction

NowUI

NowUI 是一款基于 React 的移动端 UI 组件框架,涵盖了常见的各类 UI 组件以及部分 工具组件。

和 IVWEB 一起完善 NOWUI !


安装

NowUI 支持多种引用方式

1. npm 安装 , 配合 webpack ,fis 等构建工具使用

http://nowui.ivweb.io/cdn/nowui.min.js

遵循最小依赖原则,所有的组件都是单独的 npm 包, 需要使用对应的组件时,安装对应的包即可。

$ npm install 需要的组件名(now-xxx-xxx)

2. 直接引用 cdn 文件

在浏览器中使用 script 直接引入文件,并使用全局变量 Now

<script src="//nowui.ivweb.io/cdn/nowui.min.js"></script>

同时也会引入全局的 React,ReactDom 对象,可直接使用

ReactDom.render(React.createElement(Now.base.empty), document.body)

使用

import Button from now-base-button

<Button />

每个组件的具体使用方法可参考对应组件的文档

许可证

NowUI is MIT

nowui's People

Contributors

adamchuan avatar superjolly avatar

Watchers

James Cloos avatar LeoEatle avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.