Learn Vue JS course Learn Javascript and Vue JS Learn VueJS course Learn VueJS Tutorial

Rapid Development with Vite

Images and Vite

In this lesson, we examine how to import static assets like images into a Vite project.

With Vite, the process is simple and intuitive and for production builds we get some built in optimizations. Such optimizations include hashed filenames for automatic cache busting and small images that are auto inlined with base64 encoding. Links