vuejs / docs

📄 Documentation for Vue 3
https://vuejs.org
Other
2.89k stars 4.31k forks source link

`inheritAttrs` should be supplemented with more See also #2933

Closed hotdogc1017 closed 2 weeks ago

hotdogc1017 commented 1 month ago

In the content about inheritAttrs, it is only mentioned to use the defineOptions macro to control the attribute pass-through behavior, but defineOptions is only available in 3.3+ and cannot be used for lower versions, and there is no obvious indication of other methods. Later, I accidentally found in the content of Githubissues.

  • Githubissues is a development platform for aggregating issues.