mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-17 19:25:13 +00:00
19 lines
276 B
Vue
19 lines
276 B
Vue
<template>
|
|
<div id="old-fetch">
|
|
oldFetchData: {{ $store.state.oldFetchData }}
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
fetch ({ store, route }) {
|
|
store.commit('setOldFetchData', route.name)
|
|
},
|
|
data () {
|
|
return {
|
|
team: []
|
|
}
|
|
}
|
|
}
|
|
</script>
|