This action will force synchronization from 剑走偏锋/dcat-admin, which will overwrite any changes that you have made since you forked the repository, and can not be recovered!!!
Synchronous operation will process in the background and will refresh the page when finishing processing. Please be patient.
Dcat Admin
是一个基于laravel-admin二次开发而成的后台系统构建工具,只需很少的代码即可快速构建出一个功能完善的高颜值后台系统。内置丰富的后台常用组件,开箱即用,让开发者告别冗杂的HTML代码,对后端开发者非常友好。
learnku文档 | 文档 | Demo | Demo源码 | Demo源码 (码云) | 扩展
Section
功能(类似Wordpress
的Filter
和blade
模板的section
标签)如果安装过程中出现
composer
下载过慢或安装失败的情况,请运行命令composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/
把composer
镜像更换为阿里云镜像。
首先请确保已经安装了laravel
,如果没有安装laravel
,则可以通过以下命令安装:
composer create-project --prefer-dist laravel/laravel 项目名称 5.8.*
# 或
composer create-project --prefer-dist laravel/laravel 项目名称
安装好了laravel
,然后设置数据库连接设置正确。
composer require dcat/laravel-admin
然后运行下面的命令来发布资源:
php artisan admin:publish
在该命令会生成配置文件config/admin.php
,可以在里面修改安装的地址、数据库连接、以及表名,建议都是用默认配置不修改。
然后运行下面的命令完成安装:
执行这一步命令可能会报以下错误
Specified key was too long ... 767 bytes
,如果出现这个报错,请在app/Providers/AppServiceProvider.php
文件的boot
方法中加上代码\Schema::defaultStringLength(191);
,然后删除掉数据库中的所有数据表,再重新运行一遍php artisan admin:install
命令即可。
php artisan admin:install
启动服务后,在浏览器打开 http://localhost/admin/
,使用用户名 admin
和密码 admin
登陆.
扩展 | 描述 | dcat-admin 版本 |
---|---|---|
dcat-page | 简洁的静态站点构建工具 | * |
ueditor | 百度在线编辑器 | * |
grid-sortable | 表格拖曳排序工具 | * |
Dcat Admin
基于以下组件:
This project exists thanks to all the people who contribute. [Contribute].
Become a financial contributor and help us sustain our community. [Contribute]
Support this project with your organization. Your logo will show up here with a link to your website. [Contribute]
dcat-admin
is licensed under The MIT License (MIT).
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。