<template>
    <div>
        메뉴 : 
        <router-link to="/"><span>Main</span></router-link>
        ,
        <button @click="Main2"><span>Main2</span></button>
        
    </div>
</template>
 
<script>
export default {
    data () {
        return {
        }
    },
    methods: {
        Main2: function () {
            this.$router.push({ path: '/Main2.page', query: {}});
        },
        
    },
    watch: {

    },
    computed: {

    },
    mounted() {
        console.log('Menu mounted');
    }
}
</script>