filmov
tv
(02) Integrate Admin Dashboard in Laravel 9 | Add Admin Dashboard into Laravel Project
Показать описание
Add Admin Dashboard into Laravel Project
Integrate Admin Dashboard in Laravel 9
How To Import HTML Admin Template In Laravel 9.0 Step By Step Tutorial
Steps
Step 1: Install the Laravel
Step 2: Download admin template
In this step, we download the SB Admin Laravel admin template. After download extract it.
we have to take js, CSS, and icons and put them into our Laravel application. So, follow below two-point.
Point 1: Create new theme folder in public folder of Laravel application.
Point 2: Copy data, dist and vendor folder and put it into "theme" directory.
Step 3: Create Route
We are building it from scratch so we add two route "my-home" and "my-users" for too pages. So, open your route file and add below route:
Step 4: Add Controller
we will create new HomeController and add two method for dashboard page and my users page. So, we have to put below code on our HomeController:
Step 5: Set theme blade files
We have set three theme blade file for SB Admin. So first we will create theme folder on views folder. In theme folder we will create three files as listed below:
Ok, now we have to add code for this three files. as listed below:
Step 6: Use Theme
We will create two new blade file using our integrated theme layout. Yes, we added two route one for home and another for users. So, let's create two files and see how to user our integrated theme.
As below files we used our integrated theme and you can understand how we can use it again and again with other pages.
Now we are ready to run our example so run below command for quick run:
php artisan serve
Laravel series goal:
My goal with this Laravel series is to create a guide for those just learning Laravel. This guide will take you from the very beginning of an idea into a real deployable application.
Do you want to get learn more about the laravel, let's take eye on given below series.
Stripe Integration with Laravel cashier
Laravel step by step guide
Laravel Advance series
Laravel Multi role authentication
Laravel fullCalendar js series
Laravel Solutions series
/*========= Want to Hire me ======== */
* My WhatsApp: +923040738009
#php
#phplaravel
#laravel
#laravelsolutions
#webdevelopment
#cdl
#career_development_lab
#hadayatniazi
#coding
#technology
Integrate Admin Dashboard in Laravel 9
How To Import HTML Admin Template In Laravel 9.0 Step By Step Tutorial
Steps
Step 1: Install the Laravel
Step 2: Download admin template
In this step, we download the SB Admin Laravel admin template. After download extract it.
we have to take js, CSS, and icons and put them into our Laravel application. So, follow below two-point.
Point 1: Create new theme folder in public folder of Laravel application.
Point 2: Copy data, dist and vendor folder and put it into "theme" directory.
Step 3: Create Route
We are building it from scratch so we add two route "my-home" and "my-users" for too pages. So, open your route file and add below route:
Step 4: Add Controller
we will create new HomeController and add two method for dashboard page and my users page. So, we have to put below code on our HomeController:
Step 5: Set theme blade files
We have set three theme blade file for SB Admin. So first we will create theme folder on views folder. In theme folder we will create three files as listed below:
Ok, now we have to add code for this three files. as listed below:
Step 6: Use Theme
We will create two new blade file using our integrated theme layout. Yes, we added two route one for home and another for users. So, let's create two files and see how to user our integrated theme.
As below files we used our integrated theme and you can understand how we can use it again and again with other pages.
Now we are ready to run our example so run below command for quick run:
php artisan serve
Laravel series goal:
My goal with this Laravel series is to create a guide for those just learning Laravel. This guide will take you from the very beginning of an idea into a real deployable application.
Do you want to get learn more about the laravel, let's take eye on given below series.
Stripe Integration with Laravel cashier
Laravel step by step guide
Laravel Advance series
Laravel Multi role authentication
Laravel fullCalendar js series
Laravel Solutions series
/*========= Want to Hire me ======== */
* My WhatsApp: +923040738009
#php
#phplaravel
#laravel
#laravelsolutions
#webdevelopment
#cdl
#career_development_lab
#hadayatniazi
#coding
#technology
Комментарии