Thanks to visit codestin.com
Credit goes to github.com

Skip to content

propsDestructure no longer working  #28295

@yassilah

Description

@yassilah

Environment

  • Operating System: Linux
  • Node Version: v18.20.3
  • Nuxt Version: 3.12.4
  • CLI Version: 3.12.0
  • Nitro Version: 2.9.7
  • Package Manager: [email protected]
  • Builder: -
  • User Config: compatibilityDate, devtools, vue
  • Runtime Modules: -
  • Build Modules: -

Reproduction

https://stackblitz.com/edit/github-g3udp4?file=nuxt.config.ts

Describe the bug

Since @vitejs/plugin-vue@5.1.0 the propsDestructure option should be set inside a features flag (see changelog) and therefore doesn't work anymore in Nuxt by setting vue.propsDestructure: true. I'll make a PR.

Additional context

No response

Logs

No response

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