Create Application

The create command scaffolds a new UI Protocol application with all necessary configuration and dependencies.

Usage

# Interactive mode (recommended)
pnpm create akinon-app

# With project name
pnpm create akinon-app my-app

# With all options
pnpm create akinon-app my-app -- --type fullpage --package-manager pnpm --no-install

Options

Option
Alias
Description
Default

--type <type>

-t

Project type

(interactive)

--package-manager <manager>

-p

Package manager to use

pnpm

--no-install

-

Skip dependency installation

false

--debug

-d

Output extra debugging info

false

Project Types

fullpage

A standalone full-page application that takes over the entire content area of the shell.

Use cases:

  • Dashboard applications

  • Data management interfaces

  • Complex multi-page applications

Generated structure:

plugin

A partial application that loads within a specific placeholder in the shell.

Use cases:

  • Sidebar widgets

  • Dashboard widgets

  • Embedded components in other pages

Generated structure:

multi-fullpage

Multiple full-page applications served from a single codebase with different base paths.

Use cases:

  • Application suites

  • Different views for different user roles

  • Modular application architecture

multi-plugin

Multiple plugins served from a single codebase with different placeholder IDs.

Use cases:

  • Widget libraries

  • Multiple dashboard components

  • Reusable plugin sets

Interactive Mode

When no options are provided, the CLI runs in interactive mode:

Interactive prompts:

  1. Project name - What is your project name?

  2. Project type - Select a project type

  3. Package manager - Which package manager would you like to use?

  4. Install dependencies - Install dependencies?

Example Workflow

After Creation

After creating your project:

Project Configuration

config.ts

Application configuration for the shell:

shell.config.js

Development shell configuration:

Next Steps

  • Development Shell - Test your application

  • Examples - See complete examples

Last updated

Was this helpful?