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

每当重启项目之后,组件的自动引入就会失效,组件将无法解析 #713

Open
5 tasks done
jsoulshine opened this issue Nov 16, 2023 · 0 comments
Open
5 tasks done

Comments

@jsoulshine
Copy link

jsoulshine commented Nov 16, 2023

Describe the bug

当我首次书写一个组件(自定义的最简单的小组件)后,自动引入会生效,页面可正常使用组件,项目运行正常。
但是,当我重启项目之后,自动引入就会失效,之前可正常展示的组件也会无法解析。
控制台报:Failed to resolve component: xxx
配置如下:
image

Reproduction

System Info

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

Used Package Manager

npm

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