This repository has been archived on 2024-07-27. You can view files and clone it, but cannot push or open issues or pull requests.
|
const { components } = require('./generator')
|
|
|
|
module.exports = function match (_, { kebabTag, camelTag: tag }) {
|
|
if (!kebabTag.startsWith('v-')) return
|
|
|
|
if (components.has(tag)) {
|
|
return [tag, `import { ${tag} } from 'vuetify/lib/components/${components.get(tag)}';`]
|
|
}
|
|
}
|