Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a new file. The auto-imports.d.ts file not update #551

Open
5 tasks done
laudaikinhdi opened this issue Jan 18, 2025 · 0 comments
Open
5 tasks done

Create a new file. The auto-imports.d.ts file not update #551

laudaikinhdi opened this issue Jan 18, 2025 · 0 comments

Comments

@laudaikinhdi
Copy link

laudaikinhdi commented Jan 18, 2025

Describe the bug

I use v0.18.6 it working. But I upgrade to v19.0.0 then not working

I create a new file belongsto dirs but the auto-imports.d.ts file not update

vite.config.mts

AutoImport({
  imports: ['vue', 'vue-router'],
  dirs: ['./resources/ts/composables/**', './resources/ts/api/**', 'resources/ts/stores', './resources/ts/utils'],
  dts: true,
  viteOptimizeDeps: true,
  vueTemplate: true,
  injectAtEnd: true,
}),

Reproduction

I create a new file belongsto dirs but the auto-imports.d.ts file not update

System Info

System:
    OS: macOS 14.7.1
    CPU: (10) arm64 Apple M1 Max
    Memory: 156.41 MB / 32.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 20.17.0 - ~/.nvm/versions/node/v20.17.0/bin/node
    Yarn: 1.22.19 - /opt/homebrew/bin/yarn
    npm: 10.8.2 - ~/.nvm/versions/node/v20.17.0/bin/npm
    pnpm: 9.12.2 - ~/Library/pnpm/pnpm
  Browsers:
    Chrome: 131.0.6778.265
    Safari: 18.1

Used Package Manager

yarn

Validations

  • Follow our Code of Conduct
  • Read the Contributing Guide.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
  • The provided reproduction is a minimal reproducible of the bug.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant