Building a background management system based on ng-Alain from Ali

First of all, let me introduce ng_Alain (produced by Ali team)

The ng-alain stack is based on  Typescript , Angular , g2 , @delon ,  and  ng-zorro-antd , and it would be very helpful to know and learn these in advance.

ng-alain scaffolding is a mid-backend front-end solution based on Angular and ng-zorro-antd (Ant Design's Angular version) basic component library. Scaffolding contains a set of common functional and business component libraries, which can greatly reduce some infrastructure development work.

His document address https://ng-alain.com/docs/getting-started

His demo address https://cipchk.github.io/ng-alain/#/dashboard/v1

Now the latest version of ng-Alain is 1.0, and what I want to share with you is also version 1.0. Although there are still many things that have not been written in 1.0, it is a big version after all. At Ali's speed, it should be perfected soon.

The first page of the document describes the installation method of this project in detail, so I will bypass this part and directly explain the specific usage part to you.

Here is its directory structure

His project construction is very reasonable and the catalogue is very clear. After reading the projects built by the top teams, it is indeed very helpful for his own improvement.

 

 If you want to develop your own project directly based on this set of codes, then you must first put your page under the routes directory, which is not a requirement.

 

 The app-data.json file in the assets folder is the file that configures the left directory

 

 Configure your file routing into the directory on the left side of this file and your routing will appear

 

 One thing to note is that the i18n folder is configured for internationalization and corresponds to the app-data.json file

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324939727&siteId=291194637