All Downloads are FREE. Search and download functionalities are using the official Maven repository.

template.vue.router2.ftl Maven / Gradle / Ivy

export default [
    {
        name: "${formBean.className?uncap_first}_home",
        path: "/${formBean.className?uncap_first}/index",
        component: () => import("@/views/pages/${formBean.className?uncap_first}/index.vue"),
        meta: {
            title: "${model!}管理",
            icon: "el-icon-platform-eleme"
        }
    },
    {
        name: "${formBean.className?uncap_first}_add",
        path: "/${formBean.className?uncap_first}/add",
        component: () => import("@/views/pages/${formBean.className?uncap_first}/add.vue"),
        meta: {
            title: "添加${model!}",
            icon: "el-icon-platform-eleme"
        }
    },
    {
        name: "${formBean.className?uncap_first}_update",
        path: "/${formBean.className?uncap_first}/update",
        component: () => import("@/views/pages/${formBean.className?uncap_first}/update.vue"),
        meta: {
            title: "更新${model!}",
            icon: "el-icon-platform-eleme"
        }
    },
    {
        name: "${formBean.className?uncap_first}_layout",
        path: "/${formBean.className?uncap_first}/view_layout",
        component: () => import("@/views/pages/${formBean.className?uncap_first}/view_layout.vue"),
        meta: {
            title: "${model!}详情",
            icon: "el-icon-platform-eleme"
        },
        children:[
            {
                name: "${formBean.className?uncap_first}_view",
                path: "/${formBean.className?uncap_first}/view",
                component: () => import("@/views/pages/${formBean.className?uncap_first}/view.vue"),
                meta: {
                    title: "${model!}详情",
                    icon: "el-icon-platform-eleme"
                }
            }
        ]
    }
]




© 2015 - 2025 Weber Informatics LLC | Privacy Policy