alibaba / alibaba/lowcode-engine
在出码项目中,错误地引用了自定义组件库的地址
- Dominant language
- TypeScript
- Stars
- 15.9k
- Forks
- 2.7k
- PR merge metrics
- No merged PRs in 30d
Description
## **Describe the bug (required)** / **详细描述 bug(必填)**
我使用了官方脚手架创建了一个组件库项目和一个编辑器项目,在编辑器项目中,我通过官方提供的方式将自定义组件接入到了编辑器项目中。然后在编辑器项目中使用出码功能。
出码后的项目,虽然是引用了自定义组件,但是import的地址却是错误的,需要我手动修改import的地址。
期望的结果是出码后 npm i && npm run start即可启动项目
---
## **Screenshots (optional)** / **bug 截图(可选)**
组件库项目:
出码项目:

---
## **Environments (please complete the following information) (required):** / **请提供如下信息(必填)**
- AliLowCodeEngine version: [e.g. 1.0.0] / 低代码引擎版本
- AliLowCodeEngineExt version: [e.g. 1.0.0] / 低代码引擎扩展包版本
- Browser [e.g. chrome, safari] / 浏览器版本
- materials / plugins / tools / 其他物料 / 插件 / 工具链版本
> (this information can be collected via [the manual plugin](https://img.alicdn.com/imgextra/i1/O1CN0115zonY1IsgbkZ2ir7_!!6000000000949-2-tps-3066-1650.png) / 版本信息可[通过低代码用户手册插件收集](https://img.alicdn.com/imgextra/i1/O1CN0115zonY1IsgbkZ2ir7_!!6000000000949-2-tps-3066-1650.png))
## **Additional context (optional)** / **更多额外信息(可选)**
Any other context of the problem here. / 可以追加更多的额外信息,帮助定位问题
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the issue with the official component-library and editor scaffolds, then inspect the generated project's imports for the custom component package. Check how the code-generation entry point resolves component-library addresses and compare the generated import with the package's actual address. Done means a generated project installs and starts with npm i && npm run start without manual import edits.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 28/100