Subscribe on changes!

Regression: Variables exposed from <script> can't be used in defineProps

avatar
Sep 21st 2021

Version

3.2.12

Reproduction link

sfc.vuejs.org/

Steps to reproduce

Open the reproduction and observe the error. Switch to v3.2.11 and observe that it works. Then comment the exported variable and uncomment the non-exported variable. Observe that you now get an error in v3.2.11. Switch to v3.2.4 and observe that it works.

What is expected?

Variables defined in