defineProps
should be able to work with local imported bindings, but reported as error
#1734
Closed
2 tasks done
Labels
Checklist
Tell us about your environment
Please show your full configuration:
What did you do?
What did you expect to happen?
No error should be reported. as the document https://v3.vuejs.org/api/sfc-script-setup.html#defineprops-and-defineemits said:
It does not require the import statement to inside a normal script instead of setup script.
What actually happened?
Repository to reproduce this issue
https://github.com/uiv-lib/uiv/blob/dev/src/components/button/Btn.vue
just change the import statement from normal script to setup script to see what happen.
The text was updated successfully, but these errors were encountered: