Open jsoulshine opened 7 months ago
当我首次书写一个组件(自定义的最简单的小组件)后,自动引入会生效,页面可正常使用组件,项目运行正常。 但是,当我重启项目之后,自动引入就会失效,之前可正常展示的组件也会无法解析。 控制台报:Failed to resolve component: xxx 配置如下:
System: OS: Windows 10 10.0.19045 CPU: (8) x64 11th Gen Intel(R) Core(TM) i5-11300H @ 3.10GHz Memory: 822.71 MB / 15.74 GB Binaries: Node: 16.20.0 - C:\Program Files\nodejs\node.EXE Yarn: 1.22.19 - D:\nvm\node_global\yarn.CMD npm: 8.19.4 - C:\Program Files\nodejs\npm.CMD pnpm: 8.10.5 - D:\nvm\node_global\pnpm.CMD Browsers: Edge: Spartan (44.19041.3570.0), Chromium (119.0.2151.58) Internet Explorer: 11.0.19041.3570
npm
Describe the bug
当我首次书写一个组件(自定义的最简单的小组件)后,自动引入会生效,页面可正常使用组件,项目运行正常。 但是,当我重启项目之后,自动引入就会失效,之前可正常展示的组件也会无法解析。 控制台报:Failed to resolve component: xxx 配置如下:![image](https://github.com/unplugin/unplugin-vue-components/assets/31613999/21f6ef82-858f-489f-aed8-53983fa3afc7)
Reproduction
System Info
Used Package Manager
npm
Validations