当前位置:网站首页>DCAT in laravel_ Admin preliminary use record
DCAT in laravel_ Admin preliminary use record
2022-07-29 00:18:00 【Ningmujun】
download laravel frame -> Connect to database , Start the download dcat .
1:
composer require dcat/laravel-admin:"2.*" -vvv2:
php artisan admin:publish3:
php artisan admin:installThe above three commands will be executed in app The next one is admin file , Internal route , Controller and other modules .

After the creation, enter { { domain name /admin }} Click login , The account password is initially defaulted admin.
After landing
Click development tools (laravel in env Of documents de_bug Close to close this tool ), Click code generator
Create model table , The table name is database table name , Check create migration file ,( Be careful when creating data tables ) You can check the soft delete and other options below , Do not enter a primary key when creating a data table id, You can write the primary key below id The name of , After the creation is successful, the data table can be generated by performing data migration in the framework .
Click System -》 menu , Create a new module , You Fang has the following content , Create a new menu

After the creation is successful, the controller will be generated
Write resource type in the route ,![]()
There is a set of automatically generated addition, deletion, modification and check system in the controller ,
The list shows :
Delete
Add and modify
Refer to the official website :https://learnku.com/docs/dcat-admin/2.x/install/8081#bb5ea0
边栏推荐
- Real time data warehouse: meituan's implementation of real-time data warehouse construction based on Flink
- Detailed principle explanation and verification results of digital clock based on FPGA
- JS advanced ES6 ~ es13 new features
- 动态规划问题(三)
- 【C】 Reverse string (two recursive ideas)
- 2022 network security learning route is very detailed, recommended Learning
- Please briefly describe the respective characteristics of list, set and map type sets (briefly describe three different inheritance methods)
- SAP temporary tablespace error handling
- Erc20 Standard Code
- 熊市下PLATO如何通过Elephant Swap,获得溢价收益?
猜你喜欢

Have passed hcip and joined the company of your choice, and share the learning experience and experience of Huawei certification

With this, your messages can't be monitored

Leetcode62. Different paths

Servlet operation principle_ API details_ Advanced path of request response construction (servlet_2)

#{}和${}的区别

DoIP测试开发实践

With the help of rpa+lcap, the enterprise treasurer management can be upgraded digitally

Exchange 2013 SSL certificate installation document

熊市下PLATO如何通过Elephant Swap,获得溢价收益?

"Method not allowed", 405 problem analysis and solution
随机推荐
Sword finger offer 41. median in data flow
Android studio connects to MySQL and completes simple login and registration functions
Do you know any formal part-time platforms?
【微服务】Nacos集群搭建以及加载文件配置
Oracle create tablespaces and users
Cmake basic learning
Linux之yum安装MySQL
跳表的原理
[TA frost wolf \u may - "hundred people plan"] Figure 3.6 texture compression - inclusion slimming
动态规划问题(一)
【MySQL 8】Generated Invisible Primary Keys(GIPK)
Doip test development practice
Real time data warehouse: Didi's real-time data warehouse landing practice
Applet editor rich text editing and rich text parsing
MySQL安装配置教程(超级详细、保姆级)
Attack and defense world web master advanced area web_ php_ unserialize
The difference between {} and ${}
Detailed principle explanation and verification results of digital clock based on FPGA
Type 1-5 components
Control fillet stroke materialshapedrawable