# distribution **Repository Path**: tosenbill/distribution ## Basic Information - **Project Name**: distribution - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-09-17 - **Last Updated**: 2025-12-03 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # distribution #### 介绍 react+hooks+typescript 打造 taro 电商小程序 #### 软件架构 ### 官方文档 [taro 文档](https://taro-docs.jd.com/taro/docs/README) [taro-skeleton 插件](https://github.com/lentoo/taro-skeleton) 安装版本 yarn add @tarojs/cli@3.2.1 ### 使用 Vant Weapp [taro+Vant Weapp 文档地址](https://taro-docs.jd.com/taro/docs/vant) [vantUI](https://youzan.github.io/vant-weapp/#/home) [vantUI+git 仓库](https://github.com/NervJS/taro3-vant-sample) ### 使用 Taro-ui [taro-ui 文档](https://taro-ui.jd.com/#/docs/quickstart) > > > 注意:taro ui2.+和 taro3.+版本不兼容,需要安装 ----- yarn add taro-ui@3.0.0-alpha.3 ### 腾讯API [小程序腾讯位置服务地图选点](https://mp.weixin.qq.com/wxopen/plugindevdoc?appid=wx76a9a06e5b4e693e#-) ### 加入群聊 [加入群聊] (https://work.weixin.qq.com/api/doc/90000/90136/93884) #### 项目结构 (重要配置文件) > config > > index > dist > src > > > pages > > > > > index > > > api #### 安装教程 1. node 版本 v14.15.3 nvm use 14.15.3 2. yarn 3. yarn serve 4. 打包:npm run build:live #### 使用说明 1. [Taro 3 在小程序端的事件机制] (https://taro-docs.jd.com/taro/docs/react-overall#taro-3-%E5%9C%A8%E5%B0%8F%E7%A8%8B%E5%BA%8F%E7%AB%AF%E7%9A%84%E4%BA%8B%E4%BB%B6%E6%9C%BA%E5%88%B6) 1. xxxx 2. xxxx 3. xxxx ### TODO 全局搜索 ”setLocationInfo“