nuxt / nuxt

The Intuitive Vue Framework.

Home Page:https://nuxt.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

autoImport for utils directory doesn't work correctly.

AtosLab opened this issue · comments

Environment


  • Operating System: Windows_NT
  • Node Version: v18.17.1
  • Nuxt Version: 3.10.2
  • CLI Version: 3.10.1
  • Nitro Version: 2.8.1
  • Package Manager: yarn@1.22.21
  • Builder: -
  • User Config: ssr, runtimeConfig, build, devtools, routeRules, modules, vite,
    css, sourcemap
  • Runtime Modules: (), @pinia/nuxt@0.5.1
  • Build Modules: -

Reproduction

.

Describe the bug

custom components inside components directory are imported automatically but not fuctions in utils directory.

Additional context

No response

Logs

ReferenceError: XXX is not defined

Could you come up with a reproduction?