1.2.6 • Published 8 months ago

@beck-zgh/layout-admin v1.2.6

Weekly downloads
-
License
-
Repository
-
Last release
8 months ago

@beck-zgh/theme-admin

@beck-zgh/theme-admin 为业务后台项目提供统一模板框架开发

功能概览

使用示例

// bootstrap.ts
import { createWebApp              } from '@beck-zgh/theme-admin'
import { basic_routes, auth_routes } from './routes'
import api_schema                    from './apis/api'

createWebApp({
    project_type : 'ADMIN'    , // 项目类型
    project_name : 'stu_admin', // 项目名称
    project_title: '校园订餐' , // 项目标题
    enable_auth  : true       , // 开启权限校验
    auth_mode    : 'PAGE_PATH', // 页面路径访问权限模式
    routes_source: 'FRONT'    , // 前端配置路由

    // API配置
    api_config: {
        url   : '/stu2/admin.api.ljson', // 请求API路径
        schema: api_schema             , // 请求API配置
    },

    // 路由配置
    router_config: {
        basic_routes,
        auth_routes,
    },

    // 页面配置
    page_config: {
        home: {
            desc: '欢迎使用校园订餐客服管理系统',
        },
        login: {
            title    : '校园订餐管理系统',
            sub_title: '为团餐企业提供智能化订餐管理方案',
        },
    },
})
1.2.6

8 months ago

1.2.5

8 months ago

1.2.4

8 months ago

1.2.3

8 months ago

1.2.2

8 months ago

1.1.0

8 months ago

1.0.0

8 months ago