Nuxt/test/fixtures/basic/pages/store-module.vue

12 lines
181 B
Vue
Raw Normal View History

<template>
<h1>{{ $store.state.simpleModule.mutateMe }}</h1>
</template>
<script>
export default {
fetch({ store }) {
store.dispatch('simpleModule/mutate')
}
}
</script>