flexmonster create|c [requiredArg] [options]
This command creates a sample project with Flexmonster based on a chosen language or front-end framework. Also, it 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.
If the language is not specified, you will be prompted to choose it during the initialization process. |
vue |
Creates a sample Vue 2 or Vue 3 project with Flexmonster Pivot. Additionally, you can choose either ES6 or TypeScript.
If the language and/or Vue version are not specified, you will be prompted to choose them during the initialization process. |
typescript |
Creates a sample project with Flexmonster Pivot based on TypeScript. For example:
flexmonster create typescript -r If 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: