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

[feat]: 添加目标平台选项 --platform #2

Open
ianzone opened this issue Jan 1, 2025 · 3 comments
Open

[feat]: 添加目标平台选项 --platform #2

ianzone opened this issue Jan 1, 2025 · 3 comments

Comments

@ianzone
Copy link

ianzone commented Jan 1, 2025

当前默认安装了所有平台,但大部分情况下只开发微信小程序,希望可以选择目标平台。

npx duxapp-cli create myProj --platform weapp,alipay

若已存在项目,可以通过 cli 添加目标平台

npx duxapp-cli add --platform weapp,alipay
@ianzone ianzone changed the title [feat]: 添加目标平台选项 [feat]: 添加目标平台选项 --platform Jan 1, 2025
@ShaoGongBra
Copy link
Collaborator

这个感觉没多大意义,所有小程序端是个依赖和命令的问题

@ianzone
Copy link
Author

ianzone commented Jan 1, 2025

这个感觉没多大意义,所有小程序端是个依赖和命令的问题

那可以提供 --no-install 选项,修改好了package.json后手动安装

@ShaoGongBra
Copy link
Collaborator

这个依赖项全部是由模块控制的,如果要实现这样的功能,还需要拆分模块才行,的需要考虑下怎么实现

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

No branches or pull requests

2 participants