1 Star 0 Fork 10

莫默磨墨先生 / react-vant

forked from 3lang / react-vant 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

logo

React Vant

参照 Vant 打造的 React 框架移动端组件库。

npm version

🔥 文档网站(国内)   🌈 文档网站(GitHub)

路线图

Roadmap概览

特性

  • 提供 50 多个高质量组件,覆盖移动端各类场景
  • 性能极佳,组件平均体积不到 1kb(min+gzip)
  • 完善的文档和示例
  • 支持按需引入
  • 支持主题定制
  • 支持 TypeScript
  • 支持 SSR
  • 支持 Vite

安装

react-vant

快速开始

import ReactDOM from 'react-dom';
import { Button } from 'react-vant';
import 'react-vant/lib/index.css';

function App() {
  return <Button>Default Button</Button>;
}

ReactDOM.render(<App />, mountNode);

快速集成

在 create-react-app 中使用

参考react-vant-cra

在 umijs 使用

参考react-vant-umi

在 nextjs 使用

参考react-vant-nextjs

vite集成

参考react-vant-vite

请参阅Quickstart中的更多内容。

浏览器支持

React Vant 支持现代浏览器以及 Chrome >= 51、iOS >= 10.0。

贡献代码

修改代码请阅读我们的 贡献指南

使用过程中发现任何问题都可以提 Issue 给我们,当然,我们也非常欢迎你给我们发 PR

欢迎加入我们的微信讨论组

手机预览

可以手机扫码以下二维码访问手机端 demo:

MIT License Copyright (c) 2021 3lang Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

React mobile UI Components base on Vant 展开 收起
TypeScript
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
TypeScript
1
https://gitee.com/itpretty/react-vant.git
git@gitee.com:itpretty/react-vant.git
itpretty
react-vant
react-vant
main

搜索帮助