承接 webdevifti/admindash 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

webdevifti/admindash

最新稳定版本:v1.0.0

Composer 安装命令:

composer require webdevifti/admindash

包简介

A Laravel package for admin dashboard views

README 文档

README

Installation

As I make it Admin dashboard ui that why first of all you need to install laravel ui and ui bootstrap --auth. How can you make this .

composer require laravel/ui

Then

php artisan ui bootstrap --auth

Migrate the tables

php artisan migrate

command

Now You can install my package with this command

composer require webdevifti/admindash

publish the vendor with this command

php artisan vendor:publish

Thend select the vendor which name is

Webdevifti\Admindash\AdminDashServiceProvider

Now time to make some changes on some files

Modify the code on app/Providers/RouteServiceProvider.php file

public const HOME = "/admin/dashboard";

Put there block of code on you routes/web.php file

Route::middleware(['auth:web'])->prefix('admin')->name('admin.')->group(function () {
    Route::get('/dashboard', [HomeController::class, 'index'])->name('home');
});

Now go to app/Http/Controllers/HomeController.php file and make some change on index() method. Change the views directory to

public function index(){
	return view('vendor.admindash.admin.index');
}

You can delete these file and directory now auth/ views/home.blade.php views/layouts/

On vendor/admindash/auth directory cut the auth folder and paste on views/ this direcotry

Thank You.

统计信息

  • 总下载量: 3
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 1
  • 开发语言: Blade

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-12-31