Skip to content

[Feature Request] Auto import mdijs icons #11706

@ctwhome

Description

@ctwhome

Problem to solve

Hi! it would be lovely to have in your babel plugin an option to auto-import v-icon with @mdijs.
A real example from my code:

import {
  mdiChevronRight,
  mdiChevronLeft,
  mdiApplication,
  mdiHomeOutline,
  mdiDatabaseSync,
  mdiFileLockOutline,
} from '@mdi/js'

export default {
  data() {
    return {
      mdiChevronRight,
      mdiChevronLeft,
      mdiApplication,
      mdiHomeOutline,
      mdiDatabaseSync,
      mdiFileLockOutline,


Proposed solution

That would save some newcomers "brain-glitch" :) (coming from font icons) and for the rest to worry less about another dependency in the code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThe issue has already been reported

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions