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

perf: do not connect devtools if Vue.config.devtools == false #881

Merged
merged 1 commit into from Jul 24, 2017

Conversation

ktsn
Copy link
Member

@ktsn ktsn commented Jul 24, 2017

Vuex always connects vue-devtools currently but it would not make sense if devtools is disabled via Vue's config.

This PR let devtoolPlugin be disable if Vue.config.devtools === false

Fix #875

@ktsn ktsn requested a review from yyx990803 July 24, 2017 11:44
@yyx990803 yyx990803 merged commit dd7f817 into vuejs:dev Jul 24, 2017
@ktsn ktsn deleted the fix-devtool-hook-init branch July 24, 2017 12:05
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