NextDevTpl Documentation

NextDevTpl Documentation

NextDevTpl 4.0.0 selects one skin at generation time and produces an independent app for the chosen runtime mode. Full mode keeps the selected authentication, payment, credits, storage, mail, jobs, and deployment capabilities. Demo mode keeps the same product views and uses local sample data for interface interactions.

Choose a Runtime Mode

ModeUse it forGenerated result
full (default)Building a real productKeeps product modules, service adapters, environment variables, database schema, and deployment files selected by a preset or custom configuration
demoShowing or evaluating the frontendKeeps 17 user-facing routes and 20 skin views; generates a server project without business APIs, a database, auth, or payment services

Sign-in, profile, plan, and ticket actions in demo mode update only the current tab's in-memory data. Soft navigation and locale changes preserve those updates; refreshing or opening a new tab restores the default sample. Business data is not written to localStorage or cookies.

The following excerpt shows the demo record's key fields; the actual file also contains catalog and skin source records:

{
  "mode": "demo",
  "preset": "custom",
  "target": "server",
  "modules": [],
  "adapters": {},
  "bindings": [],
  "viewModules": ["auth", "blog", "dashboard", "marketing", "pseo", "settings", "shared", "support"],
  "demo": { "dataSha256": "..." }
}

Skins Are Selected During Generation

Use the built-in default skin, a local skin directory, or a remote HTTPS archive with --skin. Remote sources require an archive SHA-256 digest. Optional access tokens are read from the command environment and are not recorded in the generated manifest. See the skin authoring guide for package structure, view IDs, asset licenses, and validation rules.

--palette is available only for the built-in default skin. The package includes an offline snapshot of 149 StyleKit themes. Selecting one adds its MIT attribution to the generated app.

For a first project:

  1. Quick Start
  2. Generator and Presets
  3. Skin Authoring
  4. Feature Modules
  5. Configuration

For an upgrade:

  1. Upgrade and Compatibility
  2. Full repository upgrade guide

Two Ways to Use the Project

Use create-nextdevtpl to generate independently maintained product source. The full repository is for maintaining the template, official skins, modules, and generator; repository implementation details are documented in the corresponding public module guides.

On this page