报错: No store found. Make sure to follow the instructions.
import { createStore, applyMiddleware, compose } from 'redux'
import thunk from 'redux-thunk'
import reducers from './reducers'
const composeEnhancers = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ || compose // 主要
export default createStore(reducers, composeEnhancers(applyMiddleware(thunk)))
不需要下载 第三方插件就可以使用
github地址 看1.2