Skip to content

vona-suite-cabloy-start

This suite includes two modules:

NameDescription
start-siteadminUsed to implement Admin-Dashboard
start-sitewebUsed to implement Website

start-siteadmin

This module includes the following components:

1. SsrSite: Admin

typescript
@SsrSite({
  publicPath: 'admin',
  bundlePath: 'ssr-cabloyStartAdmin-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: ['start-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: ['start-siteadmin:admin'],
})
export class SsrMenuGroupManagement {}
NameDescription
itemMenu group information
siteBinds the menu group to the specified site

start-siteweb

This module includes the following components:

1. SsrSite: Web

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

Released under the MIT License.