I have a VueComponent for which I need to pass a value "A". the problem is the value A can be passed VueRouter parameter or via the template interpolation. What is the best way to set a property data via both options?
e.g.
<component :property="value"></component>
if I navigate to
/component/8/edit
mounted() {
this.property = this._route.params.id
}