alibaba / alibaba/lowcode-engine

Question config.layout的作用

Open
#1,770 1 comment 0 reactions 1 assignee Claimed by @liujuping View on GitHub
Dominant language
TypeScript
Stars
15.9k
Forks
2.7k
PR merge metrics
No merged PRs in 30d

Description

在`react-simulator-renderer`中, 会读取ProjectSchema的config.layout字段.
例如
``` json
{
config:{
layout:{
componentName:"MyLayout"
}
}
}
```

https://github.com/alibaba/lowcode-engine/blob/4f4ac5115d18357a7399632860808f6cffc33fad/packages/react-simulator-renderer/src/renderer-view.tsx#L106

在这里, simulator会从物料库里加载MyLayout组件并渲染。但是这个行为在react-renderer并没有。文档上也没介绍这个配置的作用。

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.