Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: react template add devDependencies for npm run lowcode:dev #47

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

stone-jin
Copy link

使用 npm init @alilc/element your-material-name 初始化出来用来开发组件物料的工程。运行npm run lowcode:dev会报错。

因为build.lowcode.js中使用插件:@alifd/build-plugin-lowcode,其templates中的preview.jsx和index.jsx使用了PR的内容。因为在运行lowcode:dev的时候,会拷贝到当前工程的.tmp目录下,但是初始化出来的项目中,并没有这些依赖,导致运行报错了。

@CLAassistant
Copy link

CLAassistant commented May 19, 2024

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants