Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import Vue from 'vue';
- import Component from 'vue-class-component';
- @Component({
- name : 'component'
- })
- export default class MyComponent extends Vue {
- beforeCreate() {
- console.log('entering Bootstrap#beforeCreate');
- }
- created() {
- console.log('entering Bootstrap#created');
- }
- activated() {
- console.log('entering Bootstrap#activated');
- }
- beforeRouteEnter(to, from, next) {
- console.log('entering Bootstrap#beforeRouteEnter');
- next();
- }
- beforeRouteUpdate(to, from, next) {
- console.log('entering Bootstrap#beforeRouteUpdate');
- next();
- }
- }
Add Comment
Please, Sign In to add comment