ABP CLI is a command line interface that is used to authenticate and automate some tasks for ABP based applications.
ABP CLI is a free & open source tool for the ABP framework.
- 第一步,安装ABP CLI,或者已安装的话,进行更新:
dotnet tool install -g Volo.Abp.Cli
dotnet tool update -g Volo.Abp.Cli
- 第二步,创建项目:
abp new Acme.BookStore -t app --tiered
![Click and drag to move wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==](https://img-blog.csdnimg.cn/2022010612381390487.gif)
new:创建新项目的命令,后面跟新项目名称;
-t :指定新项目所使用的模板,app
is the startup template that contains the essential ABP Modules pre-installed and configured for you;
--tiered:指定新项目是分层的。
--ui
or -u
: Specifies the UI framework. Default framework is mvc。可选项:mvc,angular,none。