<a href="https://iwb.jp/" @click.prevent="onClick">iwb.jp</a>
new Vue({ el: '#app', methods: { onClick() { alert('iwb.jp') } } })
元記事に戻る