Blame view

src/components/Intermediate.vue 474 Bytes
298fff252   Digvijay Singh   new design added
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
  <template>
  
      <div class="contact-page">
          <p>Loading</p>
      </div>
  </template>
  
  <script>
      import router from '../router'
      export default {
          name: 'Intermediate',
          data() {
              var userdata = localStorage.getItem('spotlight_usertoken')
              if(userdata){
                  router.push({ path: '/profile'})
              }
              return {
                  msg: 'Welcome to Your Vue.js App'
              }
          },
      }
  </script>