G
G
grabbee2021-06-29 11:30:34
webpack
grabbee, 2021-06-29 11:30:34

@nuxt/components doesn't find external modules, is additional configuration needed?

ERROR in ./pages/ ... Module not found: Error: Can't resolve 'node_modules/@scope/my-module/components/some-component.vue

In fact, it sort of finds them, since they are listed in the .nuxt/components/readme.md file - this is during development. And everything works during development . But the assembly breaks and gives an error.

Default build config.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question