Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[Feature Request] Auto import mdijs icons #11706

Closed
ctwhome opened this issue Jun 23, 2020 · 1 comment
Closed

[Feature Request] Auto import mdijs icons #11706

ctwhome opened this issue Jun 23, 2020 · 1 comment
Labels
duplicate The issue has already been reported

Comments

@ctwhome
Copy link

ctwhome commented Jun 23, 2020

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.

@ghost ghost added the S: triage label Jun 23, 2020
@KaelWD
Copy link
Member

KaelWD commented Jun 23, 2020

Duplicate of vuetifyjs/vuetify-loader#86

@KaelWD KaelWD marked this as a duplicate of vuetifyjs/vuetify-loader#86 Jun 23, 2020
@KaelWD KaelWD closed this as completed Jun 23, 2020
@KaelWD KaelWD added duplicate The issue has already been reported and removed S: triage labels Jun 23, 2020
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
duplicate The issue has already been reported
Projects
None yet
Development

No branches or pull requests

2 participants