Under what circumstances is the default value of default for VUE props used?

if this is the question, please give me an example. no, no, no.


my component provides 30 configurable items prop,. Do these 30 configuration items prop need to be manually set by other developers?
is given the default value, of course.


for example, you write a component. For example, a very simple requirement such as a header component. Should a header have its own color and style? You may have set this component as high as 44px and the color as white when you wrote it. But a good component should have a high degree of configurability and default values, at this time you are bound to expose the color color and high height. At this point, people who use your components can configure them without modifying the source code. So do you need a default color at this time? Otherwise, you have to configure every header you write, isn't that troublesome?

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1ea9f5f-46a1b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1ea9f5f-46a1b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?