### Version 2.7.7 ### Reproduction link [github.com](https://github.com/Shimada666/vue27_ref) <img width="769" alt="image" src="https://user-images.githubusercontent.com/33391300/180020544-4f31b277-4963-4c8f-bddc-3005cb5c0611.png"> <img width="912" alt="image" src="https://user-images.githubusercontent.com/33391300/180020673-6357ce68-3435-4580-ac27-4027f37bd088.png"> ### Steps to reproduce 1. Clone the repo 2. Run `pnpm i` 3. Run `pnpm dev` ### What is expected? Kebab-case component can be rendered. ### What is actually happening? Kebab-case component can't be rendered. But when I delete ref sentence, it works. --- Is it a bug? It can work in vue3. It also can work in vue2.6 + vue-composition-api. <!-- generated by vue-issues. DO NOT REMOVE -->