This document will introduce how to use bmp CLI.
#Create a new project
This command creates an initialized mini program project
#Support existing React project
This command creates the .bmp directory and writes the relevant configuration to the existing project's tsconfig.json file, allowing development support to import @binance/* for Typescript syntax support.
#Run with devServer
This command will compile the project code and turn on devServer, which listens on locahost:3000 by default. When you enter the project and click on the dist project, you can see the running mini program. With liveReload enabled on devServer, the project code will be automatically rebuilt when it changes and the page will be refreshed.
This command compiles the project code and generates mini-program files in the project directory. The developer uploads these files with Binance Devtools to the management portal for release or online testing.