Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Can't work in vite, cannot find icon set found called material-icons #177

Open
Junvary opened this issue May 9, 2023 · 1 comment
Open
Labels
bug Something isn't working

Comments

@Junvary
Copy link

Junvary commented May 9, 2023

For a legitimate bug, in order to process faster, please go here https://codepen.io/Hawkeye64/pen/vYYYewG, fork the codepen, add code to reproduce the bug and submit link here (don't forget to save your codepen):

Describe the bug
QIconPicker: cannot find icon set found called material-icons

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

@nucle nucle added the bug Something isn't working label May 22, 2023
@Casperovskii
Copy link

Hi!
I met same problem and temporary solution for me is using preloaded icons:
https://github.com/quasarframework/quasar-ui-qiconpicker/blob/main/docs/src/examples/CustomIconSet.vue

<!-- in template -->
<q-icon-picker
            ...
            :icons="icons"
           ...
          />
<!-- in script section -->
  import materialIcons from '@quasar/quasar-ui-qiconpicker/src/components/icon-set/material-icons'
  ...
  data: function () {
      return {
        ...
        icons: materialIcons.icons, // icons for icon-picker
        ...
      }
    },

This solution is forcing you to use 1 icon set (but you can provide your own selector with pre-import sets).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants