@vswift/cli v0.0.19
@vswift/cli
Quick development scaffolding.
Install
npm install -g @vswift/cli
Run vswift -v
command to check if @vswift/cli
is installed successfully.
Run vswift -h
to see how to use it.
Create initial project
vswift create
Generate as needed
You need to configure the project and view data on the visual development platform first, and then export the json data. The following has a introduction to visual development platform.
Visual development platform
The visual development platform completes the data configuration of projects and views and provides them to vswift for use. View the project here, preview here.
Configure directory
Configure the json file directory exported from the visual development platform, that is, the browser download directory.
vswift config set configFileDir "<dir>"
Example: $ vswift config set configFileDir "C:\Users\Administrator\Downloads"
Run vswift config list
to see if the setting is successful.
Generate project as needed
vswift generate project <name>
Note: name
does not need the .json suffix.
Generate view as needed
vswift generate view <name1[,name2[,name3[...]]]>
Note: name
does not need the .json suffix, ,
separate multiple names to generate multiple views at the same time.
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
11 months ago
1 year ago
1 year ago
3 years ago
3 years ago
3 years ago