You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

30 lines
775 B

  1. <template>
  2. <div id="lesspass" class="card">
  3. <lesspass-menu></lesspass-menu>
  4. <lesspass-message></lesspass-message>
  5. <div class="lesspass__inner-box card-block">
  6. <router-view></router-view>
  7. </div>
  8. </div>
  9. </template>
  10. <script type="text/ecmascript-6">
  11. import './LessPass.scss';
  12. import Menu from './components/Menu.vue';
  13. import Message from './components/Message.vue';
  14. import {mapGetters} from 'vuex';
  15. export default {
  16. name: 'LessPass',
  17. components: {
  18. 'lesspass-menu': Menu,
  19. 'lesspass-message': Message
  20. },
  21. computed: mapGetters(['version']),
  22. created(){
  23. this.$store.dispatch('cleanMessage');
  24. this.$store.dispatch('loadPasswordFirstTime');
  25. this.$store.dispatch('refreshToken');
  26. }
  27. }
  28. </script>