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

refactor(cli): 兼容 taro 2 访问 config 的方法 #6412

Merged
merged 3 commits into from
May 22, 2020
Merged

Conversation

yuche
Copy link
Contributor

@yuche yuche commented May 20, 2020

  1. 可以通过 Current.app.config 或者在 App 中使用 this.config 访问 app.config
  2. window.__taroAppConfig 也可以访问

yuche added 2 commits May 20, 2020 15:56
1. 可以通过 Current.app 或者 this.config 访问 app.config
2. window.__taroAppConfig 也可以访问
@yuche yuche merged commit 92d0cc4 into next May 22, 2020
@yuche yuche deleted the refactor/read-config branch May 22, 2020 15:36
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.

None yet

2 participants