Skip to main content
Scaffold a standalone Vite single-page application module. The command pulls the spa source from the upstream skeleton repository, marks the module as a spa in its yml config, assigns a free dev port, and installs the spa dependencies. You can link the spa to an existing design module or scaffold a new one.

Usage

ooneex spa:create [options]

Examples

# Interactive: prompts for the spa name and design module
ooneex spa:create

# Provide the name as a flag
ooneex spa:create --name=dashboard

# Link the spa to a design module
ooneex spa:create --name=dashboard --design=ui

Options

OptionDescriptionDefault
--nameSpa name. Normalized to PascalCase with any trailing Module stripped; the module folder uses its kebab-case form.Prompted if omitted
--designDesign module the spa uses. An existing design can be chosen interactively, or a new name is scaffolded.Prompted if omitted
--cwdProject directory the spa is created in.Current working directory
--silentSuppress prompts, spinners, and output.false