Skip to content

vona-suite-cabloy-basic

This suite includes the following modules:

NameDescription
basic-siteadminUsed to implement Admin-Dashboard

basic-siteadmin

This module includes the following components:

1. SsrSite: Admin

typescript
@SsrSite({
  publicPath: '',
  bundlePath: 'ssr-cabloyBasicAdmin-5.0.0',
})
export class SsrSiteAdmin {}
NameDescription
publicPathSpecifies the publicPath of the admin website URL
bundlePathSpecifies the path of the JS bundle. Copied here after building from the Zova frontend project

2. SsrMenu: Home

typescript
@SsrMenu({
  item: {
    title: $locale('Home'),
    order: $order(1, 'core'),
    icon: '::home',
    link: '/',
  },
  site: ['basic-siteadmin:admin'],
})
export class SsrMenuHome {}
NameDescription
itemMenu information
siteBinds the menu to the specified site

3. SsrMenuGroup: Management

typescript
@SsrMenuGroup({
  item: {
    title: $locale('Management'),
    order: $order(2),
  },
  site: ['basic-siteadmin:admin'],
})
export class SsrMenuGroupManagement {}
NameDescription
itemMenu group information
siteBinds the menu group to the specified site

Released under the MIT License.