final effect
Code generator
#need _
- Use the code generator to create a project with the project name Template Test;
- Fields include: name, coding, sorting and chart;
- Function: Includes add, delete, modify, check, import, export and permission control of project management.
# 1. Create template
# 1.1. Open the code template and click the Add button
# 1.2. Enter basic information
# 1.3. Design the form and modify the names and codes of each field
# 1.4. Set the query field and list field, and submit after the settings are completed.
# 2. Automatically generate front-end and back-end code
# 2.1. Click the green button to generate templates to automatically generate front-end and back-end codes and menus.
# 2.2. View the backend code, the path is /generator/test
# 2.3. View the front-end code, the path is /views/generator/test
# 3. Automatically generate tables in the database
# 3.1. Click the yellow button on the right side of the template to automatically generate the table structure
# 3.2. View the generated table
# 4. The project has been built
# 4.1. Access the project just generated and add a new piece of data
# 4.2. Data added successfully
# 4.3. Other functions
That’s it for the documentation. You can slowly test and explore other functions by yourself.