摘要:
1、在src下创建redux文件夹,并新建store.js // store.js import { createStore } from 'redux'; import reducers from './reducers/index'; export default createStore(red 阅读全文
posted @ 2020-12-03 09:22
smile_or
阅读(1078)
评论(0)
推荐(0)
摘要:
//App.js import { BrowserRouter as Router, Route, Link, } from "react-router-dom"; // 引入组件 import Home from "...."; import News from "...." function A 阅读全文
posted @ 2020-12-03 09:15
smile_or
阅读(9149)
评论(0)
推荐(1)

浙公网安备 33010602011771号