We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
怎么配置可选链操作符及空置合并操作符 const a = arr?.map((item) => item} 这个不支持 '@babel/plugin-proposal-optional-chaining', //可选链 ?. '@babel/plugin-proposal-nullish-coalescing-operator' //空值合并 ?? 这两个插件如何再dva项目中配置
The text was updated successfully, but these errors were encountered:
和dva无关系?需配置webpack里的babel,或者使用vite零配置即可支持这些特性。
webpack
vite
Sorry, something went wrong.
No branches or pull requests
怎么配置可选链操作符及空置合并操作符
const a = arr?.map((item) => item}
这个不支持
'@babel/plugin-proposal-optional-chaining', //可选链 ?.
'@babel/plugin-proposal-nullish-coalescing-operator' //空值合并 ??
这两个插件如何再dva项目中配置
The text was updated successfully, but these errors were encountered: