Make sure abp cli already updated.
abp new MyCompanyName.MyProjectName -t app --ui none
Execute DbMigrator to generate Database (Set as statup porject at visual studio)
Execute HttpApi.Host to host web (Set as statup porject at visual studio)
See abp document:ABP CLI to get more information.
//prepare package
npm install
//start up angular
ng serve tmpl.ng-alain-app
//Remember: check environment.ts url must match your backend url.
in this repository , i try to create monorepo by Nx for debug all sourcecode together , include:
- packages folder put abp's all libary
- themes folder put dev default(abp) theme and other customization themes(ng-alain)
- apps folder put angular application projectType for every theme
- libs folder put extend abp's packages or other libray, you can create alternative component or router for abp's package
- Origin Source:https://github.com/ng-alain/ng-alain
- ng-alain-app
- Origin Source:https://github.com/abpframework/abp
- dev-app
nx workspace-schematic merge-config
this command will read all config folder
's json file and Create or Update angular.json
,tsconfig.json
,tsconfig.prod.json
,nx.json
.
TODO
TODO
Run ng serve tmpl.ng-alain-app
or ng serve tmpl.dev-app
for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.
Run ng g component my-component --project=my-app
to generate a new component.
Run run npm build
to build the project. The build artifacts will be stored in the dist/
directory.
TODO
TODO