Nuxt/examples/vuex-store/pages/about.vue
2016-12-16 18:12:38 +01:00

9 lines
188 B
Vue

<template>
<div>
<p>
<button @click="$store.commit('increment')">{{ $store.state.counter }}</button><br>
<nuxt-link to="/">Home</nuxt-link>
</p>
</div>
</template>