title: vue/vuex: Can you re-render a page from another page?
body: <p>With the first login in my app, users get a possibility to leave their address. When this address is stored, the user are pushed to their dashboard. Second login the user go straight to the dashboard.</p>
  <p>I have 2 Vuex states that are updated with the response.data. 'Signed' leads to address page, 'Frequent' leads to 'dashboard'.</p>
  <pre><code>    //PROMPT.VUE    
      mounted () {        
          this.getPrompt()       
      },
      computed: {
          promptStatus () {
           return this.$store.getters.getPrompt
          }
      },
      methods: {
          async getPrompt() {
              try{
                  await //GET axios etc
                  // push prompt status in Store
                  let value = response.data
                  this.$store.commit('setPrompt', value)
                  
                  if (this.promptStatus === 'signed') {                        
                      this.$router.push({path: '/adres'})                    
                  }
                  if (this.promptStatus === 'frequent') {                 
                      this.$router.push({path: '/dashboard'})
                  }
  </code></pre>
  <p>When user leaves the address I reset the vuex.state from 'signed' to 'frequent'.</p>
  <pre><code>                //ADRES.VUE
                  //store address
  
                  let value = 'frequent'
                  this.$store.commit('setPrompt', value)
                  
                  
                  this.$router.push({name: 'Prompt'})
  </code></pre>
  <p>The Vuex.store is refreshed. But the Prompt.vue wil not re-render with the new vuex.status. Many <a href="https://stackoverflow.com/questions/32106155/can-you-force-vue-js-to-reload-re-render?rq=1">articles</a> are written. Can 't find my solution. Maybe I organize my pages the wrong way.</p>