Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

createStore方法找不到 #13

Open
cat6572325 opened this issue Feb 23, 2017 · 1 comment
Open

createStore方法找不到 #13

cat6572325 opened this issue Feb 23, 2017 · 1 comment

Comments

@cat6572325
Copy link

cat6572325 commented Feb 23, 2017

const store = createStore(reducer) // redux store

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

@charleyw
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants