<template>
    <div>
        <Header></Header>
        <div style="padding: 40px 60px 90px">

            <div class="flex justify-between">
                <Side></Side>
                <div>
                    <div v-if="$route.name === 'MyPlan'" class="main-wrap-plan">
                        <router-view />
                    </div>
                    <div v-else-if="$route.name === 'MyPage'" class="main-wrap-mypage">
                        <router-view />
                    </div>
                    <div v-else class="main-wrap">
                        <router-view />
                    </div>
                </div>
            </div>

        </div>
    </div>
</template>

<script>
import Header from '../../layout/Header.vue';
import Menu from '../../layout/Menu.vue';
import Side from '../../layout/Side.vue';

export default {
    data() {
        return {};
    },
    methods: {},
    watch: {},
    computed: {},
    components: {
        Header: Header,
        Menu: Menu,
        // Footer:Footer,
        Side: Side,
    },
    mounted() {
        console.log('main mounted');
    },
};
</script>
