flexmonster create|c [requiredArg] [options]
The Flexmonster CLI command that creates a sample project with Flexmonster based on a chosen language or front-end framework. Also can install the needed npm dependencies and run the project.
The flexmonster create
command can be run with the following required arguments:
Argument | Description |
angular |
Creates a sample Angular project with Flexmonster Pivot. For example:flexmonster create angular -r |
react |
Creates a sample React project with Flexmonster Pivot. You can choose either ES6 or TypeScript.
|
vue |
Creates a sample Vue project with Flexmonster Pivot. For example:flexmonster create vue -r |
typescript |
Creates a sample project with Flexmonster Pivot based on TypeScript. For example:flexmonster create typescript -rIf needed, Webpack can be added to the project: flexmonster create typescript webpack -r |
javascript |
Creates a sample project with Flexmonster Pivot based on pure JavaScript. For example:flexmonster create javascript -r |
electron |
Creates a sample ElectronJS project with Flexmonster Pivot. For example:flexmonster create electron -r |
The flexmonster create
command can be run with the following options:
Option | Description |
--install , -i
|
Automatically installs all the needed npm dependencies. |
--run , -r
|
Automatically installs all the needed npm dependencies and runs the project. |
--help , -h
|
Shows the short guidance on this command in the console. Use this command to see all the possible uses of the create command. |
You may be interested in the following articles: