lowcode-engine icon indicating copy to clipboard operation
lowcode-engine copied to clipboard

@alilc/element 初始化新建物料步骤与官方文档描述不符

Open canfoo opened this issue 3 years ago • 4 comments

官方文档描述 @alilc/element 新建一个组件如下: image

按照步骤执行截图如下: image

包模式选项和官方描述不一样,尝试选择“PC-多包模式”继续,生成的代码目录和官方描述的也不一致。另外在安装依赖的时候,安装失败:“@ali/fie4-plugin-component 这个包不存在无法下载安装”,到npm源查找下,发现这个包确实不存在。。。至此,无法进行下一步了。

image

所以是哪里出现问题了?@alilc/element升级了,但是官方文档未更新?还是?

canfoo avatar May 25 '22 09:05 canfoo

This issue is stale because it has been open 10 days with no activity. Remove stale label or comment or this will be closed in 2 days.

github-actions[bot] avatar Jun 11 '22 02:06 github-actions[bot]

没有复现你说的问题唉,我执行 npm init @alilc/element react-comps --registry=https://registry.npmmirror.com 是跟文档说明一致的

jinchanz avatar Jun 14 '22 07:06 jinchanz

看起来是引用到了老的 element 版本,可以试下清楚一下 npm 的缓存再试试。或者更新到比较新的 npm 版本尝试一下

eternalsky avatar Jun 14 '22 07:06 eternalsky

This issue is stale because it has been open 10 days with no activity. Remove stale label or comment or this will be closed in 2 days.

github-actions[bot] avatar Jun 26 '22 02:06 github-actions[bot]