DEV Community

Discussion on: 4 Underrated Nuxt Modules

Collapse
 
kp profile image
KP

Thanks for the post...love some more articles on Nuxt.js, since it's still a young-ish framework and not a lot has been built on top of Nuxt.

On this piece, I'm very interested in using:

  • nuxt-svg-loader
  • v-lazy-image

in my Nuxt.js project. Could you possibly show some code examples (that are ideally copy-paste) to help us get started with these? Thanks!

Collapse
 
mornir profile image
Jérôme Pott • Edited

Hi! Glad you liked it.
Here are two real-word examples ☺

v-lazy-image: github.com/mornir/makeup-website/b...
Sanity CMS automatically generates Low Quality Image Placeholders (LQIP) for uploaded images.

nuxt-svg-loader: github.com/mornir/makeup-website/b...
Here is EmailIcon just a SVG, but it "behaves" like a Vue component.