es6 import在命名导出时给出了undefined

时间:2017-01-17 21:17:22

标签: javascript reactjs ecmascript-6

我有这个简单的导入:

import {reducers as sharedStore} from "./components/shared";

并在位于

一侧的index.js文件中导出
./components/shared

文件夹。

这是index.js内容:

import {combineReducers} from "redux";
export const reducers = combineReducers({selectAssetView, video:videoReducerComp });

0 个答案:

没有答案