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

Using with nuxt-optimized-images #96

Closed
jackynguyen93 opened this issue Nov 14, 2020 · 1 comment
Closed

Using with nuxt-optimized-images #96

jackynguyen93 opened this issue Nov 14, 2020 · 1 comment

Comments

@jackynguyen93
Copy link

I'm using https://github.com/juliomrqz/nuxt-optimized-images to optimize webp and lqip for placeholder image. Can I use this nuxt/image to load image from there. eg: <nuxt-image :src="require('@/assets/images/banner/slider-sport.jpg?webp')"/>

@farnabaz
Copy link
Member

Hey,
Your sample will work in the alpha version of the module. The module still in WIP. I recommend to not use Nuxt Image in production and wait for alpha release, Alpha release may have BREAKING CHANGES.
The problem is same as #73

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants