Guest User

Untitled

a guest
Nov 17th, 2017
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. import Vue from 'vue';
  2. import Component from 'vue-class-component';
  3.  
  4. @Component({
  5. name : 'component'
  6. })
  7. export default class MyComponent extends Vue {
  8.  
  9. beforeCreate() {
  10. console.log('entering Bootstrap#beforeCreate');
  11. }
  12.  
  13. created() {
  14. console.log('entering Bootstrap#created');
  15. }
  16.  
  17. activated() {
  18. console.log('entering Bootstrap#activated');
  19. }
  20.  
  21. beforeRouteEnter(to, from, next) {
  22. console.log('entering Bootstrap#beforeRouteEnter');
  23. next();
  24. }
  25.  
  26. beforeRouteUpdate(to, from, next) {
  27. console.log('entering Bootstrap#beforeRouteUpdate');
  28. next();
  29. }
  30. }
Add Comment
Please, Sign In to add comment