Nuxt/examples/vuex-store-modules/pages/about.vue

13 lines
218 B
Vue
Raw Normal View History

2016-12-26 14:55:00 +00:00
<template>
<div>
<p>
<button @click="$store.commit('increment')">
{{ $store.state.counter }}
</button><br>
<NuxtLink to="/">
Home
</NuxtLink>
2016-12-26 14:55:00 +00:00
</p>
</div>
</template>