Skip to content

Commit cacbbed

Browse files
Alejandro Magueyhefeng
Alejandro Maguey
authored and
hefeng
committed
fix(runtime): DevTools recommendation shows for all browsers (vuejs#8638)
Close vuejs#8634
1 parent 425338e commit cacbbed

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)