You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, your issue has been closed because it does not conform to our issue requirements. In order to ensure every issue provides the necessary information for us to investigate, we require the use of the Issue Helper when creating new issues. Thank you!
In case someone stumbles on this, the error is received when Vue CLI assumes you're building a single file component, and thus requires you to hyphenate component name:
Personally, I was receiving this error when I forgot to wrap my [entry] path in quotes (which was not that apparent when the command was in package.json scripts), when creating a bundle that registers multiple components. Which confused me, because I was sure I don't need to hyphenate the name in this case. But what probably happened was that vue-cli discared entry value as invalid and then just took first .vue file from components dir as entry, thus assuming it was supposed to be a single file component.
IMPORTANT: Please use the following link to create a new issue:
https://new-issue.vuejs.org/?repo=vuejs/vue-cli
If your issue was not created using the app above, it will be closed immediately.
中文用户请注意:
请使用上面的链接来创建新的 issue。如果不是用上述工具创建的 issue 会被自动关闭。
build with component methods always come out this bug.
using vue-cli 3.0+
build with vue ui
The text was updated successfully, but these errors were encountered: