0👍
✅
In the Vue template, the this
is implicit (that’s why console.log doesn’t work from the template), so you can skip that
<input :value="$store.state.shareUrl"/>
Source:stackexchange.com