Subscribe on changes!

How to receive props when defineComponent uses setup function as a parameter

avatar
Nov 29th 2021

Version

3.2.23

Reproduction link

v3.vuejs.org

Steps to reproduce

https://v3.vuejs.org/api/global-api.html#definecomponent

What is expected?

There is a way to receive props when defineComponent uses setup function as a parameter

What is actually happening?

in documentation, I can’t find a place to receive props

avatar
Nov 29th 2021

Hi, thanks for your interest but Github issues are for bug reports and feature requests only. You can ask questions on the forum, the Discord server or StackOverflow.

maybe you are looking for this: https://v3.vuejs.org/guide/composition-api-setup.html#arguments