![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
react
ahnu119
这个作者很懒,什么都没留下…
展开
-
基于taro3.x - react.js redux,开发h5 小程序 rudex 和 dom绑定 后台请求,下载地址 (四)
直接上地址吧 懒得写了,https://gitee.com/ahnu119/taro-init原创 2020-11-19 11:27:36 · 103 阅读 · 0 评论 -
基于taro3.x - react.js redux,开发h5 小程序 api请求封装 (三)
import Taro from '@tarojs/taro'import {getSignTokenBody} from "./getToken";/* eslint-disable-next-line no-undef */const getRemoteApi = () => { let remoteApi = ''; if (process.env.NODE_ENV === 'development') { remoteApi = 'http://127.0.0.1:.原创 2020-11-19 11:22:33 · 359 阅读 · 0 评论 -
基于taro3.x - react.js redux,开发h5 小程序 await-async promise(二)
1.上一章说的时怎么去初始话项目,这章我们主要写redux如何配置:2 首先我们配置stroe/index.js//store/index.js文件import { createStore, applyMiddleware, compose } from 'redux'import thunkMiddleware from 'redux-thunk'import rootReducer from '../reducers'import { createLogger } from 'red原创 2020-11-19 11:18:14 · 329 阅读 · 0 评论 -
基于taro3.x - react.js redux,开发h5 小程序(一)
1.taro3.x 和 react.js 无缝对接了,使h5和小程序的开发变得如此简单,2.第一步我们开发首先要去官网参考下,taro3.x文档3.安装taro依赖 :# 使用 npm 安装 CLI$ npm install -g @tarojs/cli# OR 使用 yarn 安装 CLI$ yarn global add @tarojs/cli# OR 安装了 cnpm,使用 cnpm 安装 CLI$ cnpm install -g @tarojs/cli4.创建项目原创 2020-11-19 11:09:54 · 546 阅读 · 1 评论