链接

    1. <router-view v-if="Flag"></router-view>
    2. <router-view v-else name="syukinmei"></router-view>
    1. path: "/about",
    2. // component: () =>
    3. // import(/*webpackChunkName:'about'*/ "../pages/about/index.vue"),
    4. components: {
    5. default: () =>
    6. import(/*webpackChunkName:'about'*/ "../pages/about/index.vue"),
    7. syukinmei: () =>
    8. import(/*webpackChunkName:'about'*/ "../pages/about/Main.vue"),
    9. },