alibaba / alibaba/lowcode-engine
怎么在一个Page里引用Component
- Dominant language
- TypeScript
- Stars
- 15.9k
- Forks
- 2.7k
- PR merge metrics
- No merged PRs in 30d
Description
schema类似如下:
```js
{
// ...
componentsTree: [
{
componentName: "Page",
fileName: "/TestPage",
// ...
children: [
{
componentName: "TestComponent",
// ...
}
]
},
{
componentName: "Component",
fileName: "/TestComponent"
// ...
}
]
}
```
我用上面方法在Page中使用了TestComponent,我看出码是正确的:

但是模拟器会报错:

请问我要怎么样在TestPage里能够引用并使用TestComponent?
Lowcode Engine 版本: 1.1.9
Lowcode Ext 版本:1.0.6
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the simulator error from the supplied componentsTree schema using Lowcode Engine 1.1.9 and Lowcode Ext 1.0.6, then compare the generated output with the simulator's component resolution behavior. Done means TestPage can render and use TestComponent without the reported simulator error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100