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 构建工具
相关推荐
AI架构师易筋4 小时前
ReAct(react_agent)从入门到严谨:并以 AIOps 离线 PoC 为例给出可落地方案
人工智能·react
OEC小胖胖1 天前
05|从 `SuspenseException` 到 `retryTimedOutBoundary`:Suspense 的 Ping 与 Retry 机制
前端·前端框架·react·开源库
Hao_Harrision5 天前
50天50个小项目 (React19 + Tailwindcss V4) ✨| AnimatedCountdown(倒计时组件)
前端·typescript·react·tailwindcss·vite7
醉逍遥neo7 天前
react项目热更新问题
前端·react·热更新·umi·umi max
打小就很皮...10 天前
发送到飞书机器人的完整流程(拓展)
react·markdown·webhook·飞书机器人
Smartdaili China11 天前
如何在桌面和移动设备上修复YouTube错误400
开发语言·php·error·youtube·移动·住宅ip·错误400
zwjapple11 天前
React + Java 技术面试完整指南
java·开发语言·jvm·react
打小就很皮...11 天前
录音与阿里云ASR实时识别实现流程
阿里云·react·asr 实时录音识别·skils 配置
Hao_Harrision12 天前
50天50个小项目 (React19 + Tailwindcss V4) ✨ | AutoTextEffect(自动打字机)
前端·typescript·react·tailwindcss·vite7
Hao_Harrision13 天前
50天50个小项目 (React19 + Tailwindcss V4) ✨ | DoubleClickHeart(双击爱心)
前端·typescript·react·tailwindcss·vite7