File tree Expand file tree Collapse file tree 1 file changed +14
-12
lines changed Expand file tree Collapse file tree 1 file changed +14
-12
lines changed Original file line number Diff line number Diff line change @@ -11,16 +11,18 @@ export default Vue
11
11
12
12
// devtools global hook
13
13
/* istanbul ignore next */
14
- if ( config . devtools ) {
15
- if ( devtools ) {
16
- devtools . emit ( 'init' , Vue )
17
- } else if (
18
- process . env . NODE_ENV !== 'production' &&
19
- inBrowser && / C h r o m e \/ \d + / . test ( window . navigator . userAgent )
20
- ) {
21
- console . log (
22
- 'Download the Vue Devtools for a better development experience:\n' +
23
- 'https://github.com/vuejs/vue-devtools'
24
- )
14
+ setTimeout ( ( ) => {
15
+ if ( config . devtools ) {
16
+ if ( devtools ) {
17
+ devtools . emit ( 'init' , Vue )
18
+ } else if (
19
+ process . env . NODE_ENV !== 'production' &&
20
+ inBrowser && / C h r o m e \/ \d + / . test ( window . navigator . userAgent )
21
+ ) {
22
+ console . log (
23
+ 'Download the Vue Devtools for a better development experience:\n' +
24
+ 'https://github.com/vuejs/vue-devtools'
25
+ )
26
+ }
25
27
}
26
- }
28
+ } , 0 )
You can’t perform that action at this time.
0 commit comments