Skip to content

New scoped ID generation since v13.4 may cause duplicated ID (needs option to disable) #1084

Closed
@whitetrefoil

Description

@whitetrefoil

Version

13.5.0

Reproduction link

https://github.com/whitetrefoil/vue-ts-arch/blob/repo-1/src/components/my-global-comp/index.vue

Steps to reproduce

  1. npm install
  2. npx gulp build

What is expected?

4 .vue components get different scoped ID.

What is actually happening?

All 4 .vue component got the same scoped ID: data-v-5b49856c


Since v13.4.0 the scoped ID is calculated base on vue file content, but in my project I separated the content to separated files and all .vue files look same, all generated scoped ID are same.

It will be better if there's a option / switch to choose the previous way of id generation.

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