S
S
SpaceBox7772022-04-06 20:41:36
Laravel
SpaceBox777, 2022-04-06 20:41:36

What to do if the template is not visible in laravel?

Hello, laravel does not see the path to the template, how can I fix this error?

<?php

namespace App\Modules\Admin\Dashboard\Controllers;

use App\Modules\Admin\Dashboard\Classes\Base;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;

class DashboardController extends Base
{
    public function index()
    {
        $this->title = __("admin.dashboard_title_page");
        $this->content  = view('Admin::Dashboard.index')->with([
            'title' => $this->title
        ])->render();

        return $this->renderOutput();
    }
}

624dd02e35756484452002.png
624dd0cd0801e264973544.png

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question