mirror of
https://github.com/tenrok/vue-meta.git
synced 2026-06-22 04:30:34 +03:00
More reliable strategy for getting deepmost component + addition of refresh() method + example & documentation on asynchronous updates
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
import { mapGetters } from 'vuex'
|
||||
|
||||
export default {
|
||||
name: 'blog-post',
|
||||
name: 'post',
|
||||
beforeMount () {
|
||||
const { slug } = this.$route.params
|
||||
this.$store.dispatch('getPost', { slug })
|
||||
|
||||
Reference in New Issue
Block a user