基于 React 的移动端 UI 组件框架 NowUI

码农软件 · 软件分类 · 高级UI组件(Advanced) · 2019-07-11 16:59:37

软件介绍

NowUI

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

安装

NowUI 支持多种引用方式

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

遵循最小依赖原则,所有的组件都是单独的 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 />

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

本文地址:https://codercto.com/soft/d/9912.html

The Practice of Programming

The Practice of Programming

Brian W. Kernighan、Rob Pike / Addison-Wesley / 1999-2-14 / USD 49.99

With the same insight and authority that made their book The Unix Programming Environment a classic, Brian Kernighan and Rob Pike have written The Practice of Programming to help make individual progr......一起来看看 《The Practice of Programming》 这本书的介绍吧!

XML 在线格式化
XML 在线格式化

在线 XML 格式化压缩工具

RGB CMYK 转换工具
RGB CMYK 转换工具

RGB CMYK 互转工具

HEX CMYK 转换工具
HEX CMYK 转换工具

HEX CMYK 互转工具