packages/mip/src/vue/core/util/options.js
function checkComponents (options) {
  for (const key in options.components) {
    const lower = key.toLowerCase()
    if (isBuiltInTag(lower) || config.isReservedTag(lower)) {
      warn(
        'Do not use built-in or reserved HTML elements as component ' +
                'id: ' + key
      )
    }
  }
}
function checkComponents (options) {
  for (const key in options.components) {
    const lower = key.toLowerCase()
    if (isBuiltInTag(lower) || config.isReservedTag(lower)) {
      warn(
        'Do not use built-in or reserved HTML elements as component ' +
                'id: ' + key
      )
    }
  }
}
function checkComponents ( options ) { for ( const key in options . components ) { const lower = key . toLowerCase ( ) if ( isBuiltInTag ( lower ) || config . isReservedTag ( lower ) ) { warn ( 'Do not use built-in or reserved HTML elements as component ' + 'id: ' + key ) } } }
Validate component names
Validate component names