京东风格的轻量级移动端 React 组件库,支持一套代码生成 H5 和小程序
npm install my-react-taro
JD-style mobile UI components based on React that support users to develop H5 and mini-programs.
sh
Clone repository
git clone https://github.com/jdf2e/nutui-react.git
Enter the project dictionary
cd nutui-react
Install dependencies
npm install
Start development
npm run dev
visit in browser: http:http://localhost:3000 (you don't have to open it manually if you've run it in the browser again)
`
$3
`sh
Clone repository
git clone https://github.com/jdf2e/nutui-react.git
Enter the project dictionary
cd nutui-react
Install dependencies
npm install
Start development
dir:src/sites/mobile-taro/dist/weapp
npm run dev:taro:weapp
OR run as jd mini-program
dir:src/sites/mobile-taro/dist/jd
npm run dev:taro:jd
`
Build Versions
> If you are using AMD environment or build tools such as Webpack, Vite, etc., we recommend using the es version. If it is a non-module environment (such as direct reference through the