Skip to content

"Codegen node is missing" if name of the component is "View" #8307

@SH0UMEN

Description

@SH0UMEN

Vue version

3.3.2

Link to minimal reproduction

https://play.vuejs.org/#eNqNkk1v2zAMhv8K6x2cAP5IdvSUAL1tQA87DAOGqge3oRsBsmTIsovA8H8faVtpAvTrJpF8Rb4PNUS3TZP1HUZFJNonpxoPLfqu2Usjvaob6zzcqdZD5WwNcZbzhQXxD2lEPku42AiPdaNLj3QDEJpFhaJgu5PRffwTt9s4gfgflsf4QUZ7kXMJFYv8Qhkl0Z0tD+g+G2oAhxWMy1zLQJx/soY6a37kADuuWlWlbnG95OmlP6pG2/nVag27PQwclX5WZH2pOySddx2ywo8JfN9sNix/16/04riFPlUVeb2ZXyKL7ESZ5yzLRH7cznWtth5MWSNVMgAZQTELOBCU1InqruEwmgX+G2AA8hx+VXCyHXnmBgn4IzqEF6U1PCIYC4/d8wXCvwpfXvd6ph5AHrBSBn8727SrhdG0ziIQk96fGizg1rnylIQYycpO+wJmuvcPc2KcWK4//jQ3afoVD5CmM8yeHEwnOoeX4BtjJZhD+AQjAQ3TiYPqw6LOtEPynK6sozy7BWVgcn1VJv0wTGEYJ1+LOCf1a6eL29UX5+sy+OV2x/9Qyz32

Steps to reproduce

Open "List.vue" file and you'll see the error. After you rename "View" to any other name (by example, Loader), you'll se that bug is gone

What is expected?

Correct render)))

What is actually happening?

Codegen node is missing for element/if/for node. Apply appropriate transforms first.

System Info

No response

Any additional comments?

I couldn't find anywhere that the word "view" is reserved somewhere in Vue.js, in html or somewhere else

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions