jimu-mobile
v1.23.12
Published
积木组件库助力移动端开发
Downloads
102
Readme
#jimu-mobile
JIMU Components build with React.
Installation
版本 (1.23.12)
With npm:
If React is not installed
npm install --save react react-dom
With React Installed
npm install jimu-mobile --save
import css
import 'jimu-mobile/dist/styles/jimu.min.css'
import JIMU
// 引用方式一
import JIMU from 'jimu-mobile'
const {Button} = JIMU
// 引用方式二
import {Button} from 'jimu-mobile'
// 单个组件引用方式 (推荐使用,节省无用组件调用)
import Button from 'jimu-mobile/dist/components/button'
Example
We have several examples on the documentation. Here is the first one to get you started:
import React, { Component } from 'react';
import ReactDOM from 'react-dom';
//import jimu-mobile
import JIMU from 'jimu-mobile'
import 'jimu-mobile/dist/styles/jimu.min.css'
const {Button} = JIMU
class App extends Component {
render() {
return (
<Button>hello JIMU</Button>
);
}
}
ReactDOM.render((
<App/>
), document.getElementById('container'));
源码git地址
https://github.com/UXDCer/jimu-mobile.git
Mobile Demo
反馈方式
jimu组件QQ群 :583011925