-
Notifications
You must be signed in to change notification settings - Fork 171
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
feat(icon): make icons accessible #51
feat(icon): make icons accessible #51
Conversation
0b70cbf
to
c1cf1b7
Compare
Ping @pi0 |
Hey @manniL. Sorry for missing this PR. Actually, this would be a nice feature but it's somehow out of the PWA/icon's scope. I mean we can make this plugin to inject |
@pi0 No problem at all! Will update the PR with your suggestion as soon as I can! |
c1cf1b7
to
c6c226e
Compare
@pi0 Updated! |
LGTM @manniL are tests passing on your side? |
@galvez Yup. Removed a forgotten |
With this PR, icons can be accessed through Vue.$icons (or custom property name).
Use case:
Sometimes you want to use smaller versions of your original logo on your page. Instead of adding another image to assets, you can now get URL and size directly through Vue.
Resolves #46