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

将@tarojs/cli 包同步跟随到package.json文件中 #8418

Closed
zhaoguoweiLLHC opened this issue Jan 3, 2021 · 2 comments
Closed

将@tarojs/cli 包同步跟随到package.json文件中 #8418

zhaoguoweiLLHC opened this issue Jan 3, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@zhaoguoweiLLHC
Copy link
Contributor

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

解决了不同版本的taro项目共存问题

这个 API 长什么样?

以3.0.21版本举例。

"devDependencies": {
   ...,
  "@tarojs/webpack-runner": "3.0.21",
  "@tarojs/cli": "3.0.21",
  ...
}
@taro-bot2 taro-bot2 bot added the enhancement New feature or request label Jan 3, 2021
@luckyadam
Copy link
Member

这个自己操作就行

@zhaoguoweiLLHC
Copy link
Contributor Author

我自己就是这么操作的,我提出来是因为在taro交流群里有不少问题是因为他们的全局cli和本地项目版本不一致导致的。所以官方如果做了这个优化,可以很大程度减少新人踩坑的概率,以及减少taro交流群的问题回复压力。

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

No branches or pull requests

2 participants