1
我导出用户减速器是这样的:错误进口减速
export default function users
,并从index.js文件中像这样导出:
export users from './users'
能够做到
import * as reducers from './redux'
,但我得到这个错误
Syntax error: Unexpected token, expected { (1:7)
> 1 | export users from './users'
| ^
2 |
请在这里粘贴一个合适的代码。这很难理解。 – VivekN