![vue props vue props](https://blog.jongallant.com/2019/01/vuejs-avoid-mutating-error/000049.png)
Also Prettier doesnt unquote numeric properties for Vue (see the issue about that).
VUE PROPS UPDATE
Primitive values passed to a child component through props cannot be changed. as-needed, -quote-propsIf you wish to pass a number or a boolean though, you must still use a binding expression ( :myProp=“boolean”). Rather, simply pass it as a normal HTML attribute, such as myProp=“string”. If all you want to do is pass a literal string to a child component, you do not need the binding expression ( v-bind: or :). In this part, we'll go over Components, Props, and Slots.
VUE PROPS SERIES
Type: boolean Default: false Usage: true Suppress all Vue logs and warnings. This is the second part in a five-part series about the JavaScript framework, Vue.js. You can modify its properties listed below before bootstrapping your application: silent.
![vue props vue props](https://dz2cdn1.dzone.com/storage/temp/9161697-new-piktochart-22604129-2-1.png)
When preciousThing changes in the parent component, the myProp property on the child component will be updated as well. Vue.config is an object containing Vue’s global configurations. That’s all! The child component now has access to this.myProp.