Bee Mobile组件库重磅升级

Bee Mobile组件库重磅升级!

Bee Mobile组件库重磅升级!

Bee Mobile组件库最新 v1.0.0 版本,支持最新的 React v18

主页:Bee Mobile

丰富强大的组件

一共拥有50多个组件,已为你需要在项目中使用的很多功能性组件做好准备。

移动预览

快速上手

npm

推荐使用npm的方式安装,它能更好地和 webpack 打包工具配合使用。

npm install bee-mobile -S

CDN

目前可以通过 unpkg.com/bee-mobile 获取到最新版本的资源,在页面上引入js 和css文件即可开始使用。

<!-- 引入样式 -->
<link rel="stylesheet" href="https://unpkg.com/bee-mobile/dist/bee-mobile.min.css">

<!-- 引入组件库 -->
<script src="https://unpkg.com/bee-mobile/dist/bee-mobile.min.js"></script>

开始使用

import React from 'react';
import {Button} from 'bee-mobile';

import 'bee-mobile/dist/bee-mobile.css';

const App = () => (
     < Button theme="primary">
               Hello World
     </Button>
);

create-bee-mobile

create-bee-mobile是一个命令行界面工具,它可以创建一个最基本的React项目。

技术栈

  • React
  • Typescript
  • Sass 预编译工具
  • bee-mobile 移动组件库
  • Webpack 构建工具
相关推荐
程序员小续4 天前
React源码解读
前端·javascript·react.js·webpack·前端框架·node.js·react
飞奔的龟龟9 天前
getDerivedStateFromProps 详解
react
Liigo11 天前
初次体验Tauri和Sycamore (2)
rust·react·tauri·webassembly·jsx·sycamore·dioxus
Lysun0011 个月前
redux 结合 @reduxjs/toolkit 的使用
开发语言·前端·javascript·react·redux
远洋录1 个月前
支付宝八折事件启示录:用户体验与风险管理的平衡艺术
前端·人工智能·react
迪迦1 个月前
React实现拖拽特效
javascript·react
远洋录1 个月前
Electron 开发者的 Tauri 2.0 实战指南:文件系统操作
前端·人工智能·react
远洋录1 个月前
Electron 开发者的 Tauri 2.0 实战指南:安全实践
前端·人工智能·react
远洋录1 个月前
Vue 开发者的 React 实战指南:测试篇
前端·人工智能·react
远洋录1 个月前
Vue 开发者的 React 实战指南:表单处理篇
前端·人工智能·react