Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

如何优雅的在yarn workspace中使用taro #10666

Closed
757566833 opened this issue Nov 16, 2021 · 3 comments
Closed

如何优雅的在yarn workspace中使用taro #10666

757566833 opened this issue Nov 16, 2021 · 3 comments
Labels
enhancement New feature or request

Comments

@757566833
Copy link

这个特性解决了什么问题?

yarn workspace

这个 API 长什么样?

npx @tarojs/cli workspace init packages/myApp 名字期望取myApp

这个自动安装依赖会cd进去,具体的api还是希望大佬们定夺,taro并不清楚我安装依赖的方式

但是创建模板事小,rn事大

今天我在尝鲜rn的时候 yarn workspce xxx dev:rn

直接开始安装react-native 这显然不是我希望的 或者能否提供一个不自动安装依赖的参数

@shinken008
Copy link
Collaborator

执行了 yarn dev:rn 运行才会去安装吧

@757566833
Copy link
Author

执行了 yarn dev:rn 运行会去安装吧

是啊,但是我执行的时候 并不需要安装啊

后来放弃了,单独起了一个rn的项目

@shinken008
Copy link
Collaborator

没懂,yarn dev:rn 表示要跑 RN 端了,不安装依赖跑不起来,不想安装为啥要跑这个命令呢

@NervJS NervJS locked and limited conversation to collaborators Apr 14, 2023
@ZakaryCode ZakaryCode converted this issue into discussion #13666 Apr 14, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants