8000 [GLOBAL CONFIG] performance property defaults to true rather other false by ywwhack · Pull Request #834 · vuejs/v2.vuejs.org · GitHub
[go: up one dir, main page]

Skip to content

[GLOBAL CONFIG] performance property defaults to true rather other false #834

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

Closed
wants to merge 1 commit into from

Conversation

ywwhack
Copy link
@ywwhack ywwhack commented Mar 20, 2017

When I bootstrap a vue project without doing anything about vue.config.performance, I can see trace in the browser devtool timeline, only when I Explicitly set vue.config.performance = false, this trace disappears.

So I think it's default is true.

@ywwhack ywwhack changed the title performance property defaults to true rather other false [API] performance property defaults to true rather other false Mar 20, 2017
@ywwhack ywwhack changed the title [API] performance property defaults to true rather other false [GLOBAL CONFIG] performance property defaults to true rather other false Mar 20, 2017
Copy link
Member
@kazupon kazupon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, in about v2.2.0 - v2.2.2, Vue.config.performance = true is correct.
In the from v2.2.3, it was changed to Vue.config.performance = false.

See the release note: https://github.com/vuejs/vue/releases/tag/v2.2.3

We should write the explanation with TIPS.

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
0