In this lesson, we look at the two different ways we can manage static assets, as well as how we can optimize our images.
NOTE: NuxtImage is currently unstable, and mostly useful for creating responsive images, so I’ve left it out of this lesson.
We take a look at the differences between keeping static assets in a /public folder vs. bundling them inside of the /assets folder.
Finally, we also use a Vite plugin to compress all of our images to save on bandwidth and increase performance.
Asset management: https://nuxt.com/docs/getting-started/assets
NuxtImage: https://v1.image.nuxtjs.org/get-started
18 lessons
7 lessons
7 lessons
11 lessons
18 lessons
8 lessons
17 lessons