-
Notifications
You must be signed in to change notification settings - Fork 587
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
[Avatar] Integration with Nuxt Image for built in image optimization #2078
Comments
Duplicate #1577. You can already do this using the <script setup>
const NuxtImg = resolveComponent('NuxtImg')
</script>
<template>
<UAvatar src="https://github.com/benjamincanac.png" :as="NuxtImg" />
</template> |
@benjamincanac |
@GalacticHypernova Indeed, we could automatically use |
Description
For elements like UAvatar that use images, it would be a good idea to integrate with Nuxt Image for those who have it installed to benefit from image optimizations like setting image format, applying modifiers, and all the other features that Nuxt Image offers.
Additional context
No response
The text was updated successfully, but these errors were encountered: