alibaba / alibaba/lowcode-engine
通过@alilc/build-plugin-alt包代理网站保存后,packages数组内没有自己的组件库
- Dominant language
- TypeScript
- Stars
- 15.9k
- Forks
- 2.7k
- PR merge metrics
- No merged PRs in 30d
Description
环境:后台有自己的vm,代理低代码框架资源“designer”,然后按照官网的顺序添加好了自己的组件库“components”(化名),
bug重现步骤:
正常打开自己的后台vm网页,然后拖动自己的组件进行搭建并保存后,查看localStorage里的packages数组里面有自己的组件库components包名的,并且预览是成功的,控制台可以打印出我自己的组件库,并且netWork里面的JS界面也有我的componets.js文件,

但是,当我运行组件库components时,因为有@alilc/build-plugin-alt包,所以自动代理到我的后台vm网站,并且打开vm网站弹出

标识代理成功,
,然后我在这个debug页面下拖动自己的组件进行搭建,点击保存,再次查看localStorage里的packages数组,里面就没有了组件库components了,并且点击预览,预览页面弹出图片

,标识代理成功,
预览页面会报components not found,控制台也没有打印出我自己的组件库,并且netWork里面的JS界面没有我的components.js,

Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the issue in the debug page with the @alilc/build-plugin-alt proxy, then compare localStorage packages and network requests before and after saving. Done means the custom components package remains in packages and components.js loads so preview can find the components.
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