@lynx-js/create-lynxtron
create-lynxtron initializes a Lynxtron application from the official template. It copies the template, writes the project name, replaces workspace dependency versions in the generated package.json, and keeps or removes Web support code based on the selected option.
The package name is @lynx-js/create-lynxtron. Use npm create @lynx-js/lynxtron@latest to create a project.
Usage
Arguments
Behavior
- If the project name or Web support option is omitted, the CLI prompts for it.
- If the target directory already exists and is not empty, the CLI asks before overwriting it.
- The default template is a Lynxtron desktop app template with a Node.js main process and Lynx UI code.
- After generation, run
npm installandnpm run devto start development.