Skip to content

Commit 22ad266

Browse files
Alejandro Magueyyyx990803
Alejandro Maguey
authored andcommittedDec 20, 2018
fix(runtime): DevTools recommendation shows for all browsers (#8638)
Close #8634
1 parent 4494012 commit 22ad266

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed
 

‎src/platforms/web/runtime/index.js

+2-3
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import Vue from 'core/index'
44
import config from 'core/config'
55
import { extend, noop } from 'shared/util'
66
import { mountComponent } from 'core/instance/lifecycle'
7-
import { devtools, inBrowser, isChrome } from 'core/util/index'
7+
import { devtools, inBrowser } from 'core/util/index'
88

99
import {
1010
query,
@@ -51,8 +51,7 @@ if (inBrowser) {
5151
devtools.emit('init', Vue)
5252
} else if (
5353
process.env.NODE_ENV !== 'production' &&
54-
process.env.NODE_ENV !== 'test' &&
55-
isChrome
54+
process.env.NODE_ENV !== 'test'
5655
) {
5756
console[console.info ? 'info' : 'log'](
5857
'Download the Vue Devtools extension for a better development experience:\n' +

0 commit comments

Comments
 (0)
Please sign in to comment.