unplugin / unplugin-auto-import

Auto import APIs on-demand for Vite, Webpack and Rollup
MIT License
3.29k stars 198 forks source link

generator is not working properly #113

Closed Rasool-deldar closed 2 years ago

Rasool-deldar commented 2 years ago

Hello, good morning I used your plugin in nuxt 2 but unfortunately the file does not output and does not work properly Inside the terminal and the editor also gives an error saying your syntax is incorrect, please help this problem

exmple

DevilTea commented 2 years ago

I have the same problem. https://github.com/antfu/unplugin-auto-import/issues/111

Here's my workaround

// your AutoImport options
{
  ...
  resolvers: [() => null]
  ...
}
Rasool-deldar commented 2 years ago
  resolvers: [() => null]

thanks for your help