Skip to content
This repository has been archived by the owner on Jan 6, 2024. It is now read-only.

The plugin encountered a warning during execution #108

Open
Songhaohan520 opened this issue Jul 3, 2023 · 4 comments
Open

The plugin encountered a warning during execution #108

Songhaohan520 opened this issue Jul 3, 2023 · 4 comments
Labels
Reproduction Needed Need a reproduction

Comments

@Songhaohan520
Copy link

Extraneous non-props attributes (data-v-inspector) were passed to component but could not be automatically inherited because component renders fragment or text root nodes.

@Songhaohan520
Copy link
Author

"vite": "^4.3.9", "vue": "3.3.4"

@webfansplz
Copy link
Owner

Can you provide a mini repo? Thanks 🙏.

@webfansplz webfansplz added the Reproduction Needed Need a reproduction label Jul 3, 2023
@Songhaohan520
Copy link
Author

Songhaohan520 commented Jul 3, 2023

Can you provide a mini repo? Thanks pray.

This is my company's code repository, which is not yet online. The first time entering the page, there will be an initialization error related to the 'data-v-inspector' tag.
<section data-v-7fc34792="" class="oyd-layout oyd-layout__classic w-[100%] h-[100%] relative" data-v-inspector="src/layout/layout/Layout.vue:41:6"

@alexzhang1030
Copy link
Sponsor Collaborator

Looks like it is a bug from vue. Need a reproduction to figure out why.

Temporal workaround: set inheritAttrs: false to this component.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Reproduction Needed Need a reproduction
Projects
None yet
Development

No branches or pull requests

3 participants