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

Nuxt.js 3 Fundamentals

Create Components that Auto Import thumbnail image

Get access to the most comprehensive Vue.js video library in the world. Over 300 video lessons including the newest Vue 3 features.

Create Components that Auto Import

In this lesson, we extract the code for searching movies into it’s own component. Then we take advantage of Nuxt’s auto import feature for components to use the newly created component with only a single line of code.

Nuxt auto imports any component inside of the components directory and even handles components nested in child directories gracefully combining path and filename to generate the component name.