fangx/dn-template
Composer 安装命令:
composer require fangx/dn-template
包简介
README 文档
README
一个好用的后台模板(Layuimini), 基于 Layui 开发.
Install
Via Composer
composer require fangx/dn-template
Usage
所有页面默认都发布在
public/dn-template/page里面, 根据自己的需要进行修改和调整
Hyperf
注意:
- 发布静态资源
php ./bin/hyperf.php vendor:publish fangx/dn-template
- 配置路由
Router::addRoute(['GET', 'POST', 'HEAD'], '/dn-template/index', [\Fangx\DnTemplate\DnTemplateController::class, 'index']);
- 启动服务
php ./bin/hyperf.php start, 访问http://127.0.0.1:9501/dn-template/index即可看到页面
Laravel
- 发布静态资源
php artisan vendor:publish --tag=dn-template
- 配置路由
routes/web.php
Route::any('/dn-template/index', [\Fangx\DnTemplate\DnTemplateController::class, 'index']);
- 启动服务
php artisan serve, 访问http://127.0.0.1:8000/dn-template/index即可看到页面
统计信息
- 总下载量: 4
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-11-25