I tried building a similar process myself in the Nuxt section of the reference documentation. But here my IDEA frequently warns me as shown in the picture below.
TL;DR
Developers encountering import models error in Nuxt 3. IDE frequently giving warnings.