Extending Admin Pages
Extending Admin Pages
There are few different ways to extend the Wrangler Admin interface:
- Create your own layouts (blade files) to be used by the Wrangler Admin
The Wrangler Admin uses a view component which will try to load layouts.app if it exists (and if not, loads textstem::layouts.app - which is installed with the Textstem page). This layout can extend textstem::layouts.app and just inject some additional goodies into the various slots
- head_html
- head_script
- body_start
- body_end
- footer
@extends('textstem::layouts.app')
@section('head_script')
<!-- add some custom script -->
<script src="{{ asset('vendor/something.js') }}" referrerpolicy="origin"></script>
@endsection