# react_taro_miniprograms **Repository Path**: hyduan_h5/react_taro_miniprograms ## Basic Information - **Project Name**: react_taro_miniprograms - **Description**: 小程序项目 基于taro2.0版本开发,依赖node环境为10.(若为其他版本请修改,否则可能会安装taro失败,影响项目启动) react项目,依照react开发模式即可 组件库: taro-ui,如有其他需要,推荐安装vant-ui的小程序版 可自行修改 - **Primary Language**: JavaScript - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 2 - **Forks**: 1 - **Created**: 2021-12-21 - **Last Updated**: 2022-11-13 ## Categories & Tags **Categories**: Uncategorized **Tags**: taro-mini-item, React, webpack, JavaScript ## README ## 项目运行前置 ### 微信小程序端基于taroUi react ### Author information ------------------------ ``` 1. authentic:hyduan 2. authEmail:17835399154@163.com 3. authCsdn: hyduan_h5(https://blog.csdn.net/duanhy_love) 4. authGitee:hyduan_h5(https://gitee.com/hyduan_h5) 5. authWx: hyduan_h5(+v需备注来源) 6. authOccupation:Front end development engineer ``` ### 项目预览wx扫码 ![输入图片说明](src/assets/imgs/oY0cO5CnXon63x7Q-7MJ1IDNjeas.jpg) ### 打开Taro官网配置相关环境 CLI 工具安装 taro 相关文档:https://taro.aotu.io/ ### 安装项目依赖文件 npm i ### 安装项目依赖文件(推荐安装) cnpm i ### 运行开发环境 npm run dev:weapp 项目目前微信小程序环境运行良好 ### 打包小程序上线 npm run build:weapp 微信小程序端 ## 项目其他环境及其运行命令 ### 开发环境 dev ### 开发环境 build 具体环境根据下面的json ```javascript "scripts": { "build:weapp": "taro build --type weapp", "build:swan": "taro build --type swan", "build:alipay": "taro build --type alipay", "build:tt": "taro build --type tt", "build:h5": "taro build --type h5", "build:rn": "taro build --type rn", "dev:weapp": "npm run build:weapp -- --watch", "dev:swan": "npm run build:swan -- --watch", "dev:alipay": "npm run build:alipay -- --watch", "dev:tt": "npm run build:tt -- --watch", "dev:h5": "npm run build:h5 -- --watch", "dev:rn": "npm run build:rn -- --watch" } ```