File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 3
3
import Vue from 'core/index'
4
4
import config from 'core/config'
5
5
import { extend , noop } from 'shared/util'
6
- import { devtools , inBrowser } from 'core/util/index'
6
+ import { devtools , inBrowser , isEdge } from 'core/util/index'
7
7
import { patch } from 'web/runtime/patch'
8
8
import platformDirectives from 'web/runtime/directives/index'
9
9
import platformComponents from 'web/runtime/components/index'
@@ -45,7 +45,7 @@ setTimeout(() => {
45
45
devtools . emit ( 'init' , Vue )
46
46
} else if (
47
47
process . env . NODE_ENV !== 'production' &&
48
- inBrowser && / C h r o m e \/ \d + / . test ( window . navigator . userAgent )
48
+ inBrowser && ! isEdge && / C h r o m e \/ \d + / . test ( window . navigator . userAgent )
49
49
) {
50
50
console . log (
51
51
'Download the Vue Devtools for a better development experience:\n' +
You can’t perform that action at this time.
0 commit comments