File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
packages/runtime-core/src/helpers Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 6
6
} from '../component'
7
7
import { currentRenderingInstance } from '../componentRenderContext'
8
8
import { Directive } from '../directives'
9
- import { camelize , capitalize , isLateTag , isString } from '@vue/shared'
9
+ import { camelize , capitalize , isLateTag , isString } from '@vue/shared'
10
10
import { warn } from '../warning'
11
11
import { VNodeTypes } from '../vnode'
12
12
@@ -113,15 +113,15 @@ function resolveAsset(
113
113
}
114
114
115
115
if ( __DEV__ && warnMissing ) {
116
- const isResEmpty = ! res ;
117
- const isNameLateTag = isLateTag ( name ) ;
116
+ const isResEmpty = ! res
117
+ const isNameLateTag = isLateTag ( name )
118
118
119
119
if ( ( isResEmpty && ! isNameLateTag ) || ( ! isResEmpty && isNameLateTag ) ) {
120
120
const extra =
121
- type === COMPONENTS
122
- ? `\nIf this is a native custom element, make sure to exclude it from ` +
123
- `component resolution via compilerOptions.isCustomElement.`
124
- : ``
121
+ type === COMPONENTS
122
+ ? `\nIf this is a native custom element, make sure to exclude it from ` +
123
+ `component resolution via compilerOptions.isCustomElement.`
124
+ : ``
125
125
warn ( `Failed to resolve ${ type . slice ( 0 , - 1 ) } : ${ name } ${ extra } ` )
126
126
}
127
127
}
You can’t perform that action at this time.
0 commit comments