From 49e558381478d9e010ddada7f8477c6f3157c3fc Mon Sep 17 00:00:00 2001 From: Eduardo Date: Tue, 25 Feb 2020 22:35:20 -0600 Subject: [PATCH] Fix layout name in backpack v4 --- README.md | 11 ++++++++--- src/resources/views/_master.blade.php | 10 +++++----- 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 816923c..05be5c6 100644 --- a/README.md +++ b/README.md @@ -8,19 +8,24 @@ Integrate [ArcaneDev/LogViewer](https://github.com/ARCANEDEV/LogViewer) in your - ![Laravel Backpack](https://github.com/Laravel-Backpack/Base) -- Daily logs enabled in your .env file `LOG_CHANNEL=daily` ## Installation +Make sure you have set your logs to "daily" in your .env file + +`LOG_CHANNEL=daily` + +Run this commands: + ```BASH composer require eduardoarandah/backpacklogviewer php artisan vendor:publish --provider="EduardoArandaH\BackpackLogViewer\BackpackLogViewerServiceProvider" -php artisan backpack:base:add-sidebar-content "
  • Logs
  • " +php artisan backpack:add-sidebar-content "" ``` -## More options +## More options More options available in /config/log-viewer.php diff --git a/src/resources/views/_master.blade.php b/src/resources/views/_master.blade.php index a4e575a..a2c27b4 100644 --- a/src/resources/views/_master.blade.php +++ b/src/resources/views/_master.blade.php @@ -1,5 +1,5 @@ -@extends('backpack::layout') -@section('after_styles') +@extends(backpack_view('layouts.top_left')) +@section('after_styles')