wechat-weapp-redux icon indicating copy to clipboard operation
wechat-weapp-redux copied to clipboard

createStore方法找不到

Open cat6572325 opened this issue 8 years ago • 1 comments

const store = createStore(reducer) // redux store

const WeAppRedux = require('./libs/wechat-weapp-redux/index.js'); const {Provider} = WeAppRedux; 这几句要写在哪里?写在app.js里报没有找到createStore的错 还有WeAppRedux指向的index.js是什么文件?

cat6572325 avatar Feb 23 '17 08:02 cat6572325

你可以参考这个例子:https://github.com/charleyw/wechat-weapp-redux-todos

charleyw avatar Feb 24 '17 02:02 charleyw