我是Meteor.js的新手,正在开发一个我正在使用Redux的项目,所以我添加了kyutaekang:redux包。 问题是我不知道如何导入Redux来使用它。 我试过了:
import { createStore } from 'redux'; ,
但是当我启动应用程序时,我得到了
[Error: Unable to fetch "redux". Only file URLs of the form file:/// allowed running in Node.] [Error: Unable to fetch "redux". Only file URLs of the form file:/// allowed running in Node.] 。
I'm a newbie for Meteor.js and working on a project where I'm also using Redux so I added the kyutaekang:redux package. The problem is that I don't know how to import Redux to use it. I tried:
import { createStore } from 'redux';,
but when I start the app I get
[Error: Unable to fetch "redux". Only file URLs of the form file:/// allowed running in Node.].
更多推荐
Redux,redux,使用,import,电脑培训,计算机培训,IT培训"/> <meta name="descrip
发布评论