mu-electronics/admin-template
Composer 安装命令:
composer require mu-electronics/admin-template
包简介
The provides a theme into a laravel application that suits manchester university
README 文档
README
This package is designed to apply a quick and easy template into a laravel application
The idea is for all electronics web applications to use this template/package. This should make it easier to keep multiple applications up to date and enable quicker development.
Install and Use
Download the packages
$ composer require "mu-electronics/admin-template:dev-master" $ composer require "illuminate/html:~5.0"
Add the template package to Laravel's service providers (config/app.php)
For < 5.1
MUElectronics\adminTemplate\app\Providers\AdminTemplate::class,
For > 5.1
"MUElectronics\adminTemplate\app\Providers\AdminTemplate",
Add Laravel's HTML/FORM package into Laravel's service providers (config/app.php)
For < 5.1 into providers array
Illuminate\Html\HtmlServiceProvider::class,
For > 5.1 into providers array
"MUElectronics\adminTemplate\app\Providers\AdminTemplate",
Add packages into Laravel's aliases array
For < 5.1 into providers array
'Form' => Illuminate\Html\FormFacade::class, 'Html' => Illuminate\Html\HtmlFacade::class,
For > 5.1 into providers array
'Form' => 'Illuminate\Html\FormFacade', 'Html' => 'Illuminate\Html\HtmlFacade',
Run the below command to publish package files
php artisan vendor:publish --force
Usage
@todo check this
Taking a new install of laravel open up routes file and past in the below. Navigate to your laravel url and enjoy the template.
Route::get('/', function () {
return view('vendor.manchesterTemplate.dashboard');
});
Contribution
This template is a modified version of gentelella template.
Modifications include:
- Colours to match The University of Manchester colours.
- Addition of JS libraries etc
- Addition of CSS etc
- Images
统计信息
- 总下载量: 34
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPLv2
- 更新时间: 2015-08-14