79147382

Date: 2024-11-01 08:49:50
Score: 1
Natty:
Report link

Just use something like this... In this configuration option, you don’t need to worry about folders and files of any nesting for components.

export default defineNuxtConfig ({
  components: [
   {
    path: '~/components/',
    pathPrefix: false,
    extensions: ['vue'],
    pattern: '**/*'
    }
  ]
})
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Dmitriy