Skip to content

InheritAttrs not works in production mode #5189

@soc221b

Description

@soc221b

Version

3.2.26

Reproduction link

codesandbox.io

Steps to reproduce

  1. Run vite with --mode production
  2. Restart server

What is expected?

"hello" should be displayed

What is actually happening?

"default" is displayed


In src/components/Parent.vue:

<template v-if="true">
  <Child v-if="true" />
</template>

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions