单纯的dva 不使用umi 该如何配置designable呢,我启动后编译会报错,希望大佬们帮忙指点下 #336
Unanswered
lijie1024512
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
源代码
export const LoadTemplate: React.FC = (props) => {
return (
{props.actions?.map((action, key) => {
return <NodeActionsWidget.Action {...action} key={key} />;
})}
);
};
报错的代码如下
Syntax error: C:\Users\李大圆\Desktop\react\form\dva-quickstart\src\routes\playground\details\formily\common\LoadTemplate\index.tsx: Unexpected token (17:91)
15 | var react_2 = require("@designable/react");
16 | exports.LoadTemplate = function (props) {
Beta Was this translation helpful? Give feedback.
All reactions