This lesson is for members. Join us?
Subscribe now and get immediate access to this course, 30 more and all future Vue.js courses!
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.
Links