Skip to content

Directory Structure

Directory Structure

bash
project
├── env
├── src
  ├── front
  ├── config
  ├── config
  ├── locales.ts
  └── monkey.ts
  ├── module
  ├── module-vendor
  ├── suite
  ├── a-demo
  └── a-home
    ├── modules
  ├── a-home
  ├── home-api
  ├── home-icon
  ├── home-layout
  ├── home-pagesystem
  └── home-router
  └── suite-vendor

Module/Suite

NameDescription
src/moduleStandalone module (not part of a suite)
src/module-vendorStandalone module (from third-party)
src/suiteSuite
src/suite-vendorSuite (from third-party)

Development suggestions

Zova has planned the modules/suites so that we can start business development immediately in the specified directory. The following conventions are only suggestions and are not mandatory:

  1. Suite suite/a-demo: Contains some test or demo code, which can be disabled during build
  2. Suite suite/a-home: Development in this suite
    • Module suite/a-home/modules/a-home: Development in this module
    • Other modules: Different modules are preset with different system functions, and custom logic can be added
  3. Grow into a large system: As the business expands, more suites and modules can be created to split the system business

Directory cheat sheet

NameDescription
envEnv
src/front/config/configConfig
src/front/config/locales.tsI18n
src/suite/a-home/modules/home-apiAPI
src/suite/a-home/modules/home-iconIcon
src/suite/a-home/modules/home-layoutRoute Fields: meta.layout
src/suite/a-home/modules/home-pagesystemRoute Fields: meta.absolute
src/suite/a-home/modules/home-routerNavigation Guards

Released under the MIT License.