Editorial question114.6K views2,030 votes0 answers4,138 following
AI-generatedModule resolution error for '@' alias when importing Vue components
The goal is to understand why a Nuxt 3 deployment build log shows a module resolution error stating that the alias '@' cannot be resolved for a Vue component import during the build step. This failure appears to depend on whether the alias is defined in nuxt.config.ts, and it may differ between Nuxt 2 (webpack) and Nuxt 3 (Vite) builds. It remains uncertain