Quick Start
Create a Project
Run the following command to create an Esmx project:
Note: The command will automatically adapt to the package manager you are using; the following examples use the npm format.
Select a Template
After running the command, you will see the template selection interface:
Available Templates
Command Line Options
This scaffolding tool supports specifying templates or configuring projects directly through command-line arguments to skip interactive selection.
Specify a Template
You can also specify a template directly with the -t or --template option to skip the interactive selection:
Specify Project Name
Use the --name or -n option to specify the project name:
Force Overwrite
Use the --force or -f option to force overwrite an existing directory:
Combined Usage
You can combine multiple options:
Start the Development Server
After creating the project, enter the directory and start the development server:
The development server will start at http://localhost:3000.
Production Build
To build for production:
Troubleshooting
- Node.js version should be
>= 24. - If a port is already in use, modify the
npm run devconfiguration or set a different port via an environment variable. - If installation fails, check your network proxy settings or try a different npm registry.
Project Structure
The created project has the following structure: