Settings

Route

Essentials::settingsRoute();

or you can extend/overide everything

class SomeController extends Vortechron\Essentials\Http\Controllers\SettingController
{}
Route::get('/settings', '\Vortechron\Essentials\Http\Controllers\SettingController@index')->name('settings.index');
Route::get('/settings/{group}', '\Vortechron\Essentials\Http\Controllers\SettingController@edit')->name('settings.edit');
Route::post('/settings/{group}', '\Vortechron\Essentials\Http\Controllers\SettingController@update')->name('settings.update');

admin/setting/index.blade.php

@extends('layouts.admin')
@section('content')
<card title="Settings" subtitle="Manage your application" no-action>
<div class="grid grid-cols-1 bg-white overflow-hidden shadow md:grid-cols-3 bg-gray-100">
<div>
<div class="px-4 py-5 sm:p-6">
<mini-heading icon="ballot" title="General" subtitle="View and update your application"></mini-heading>
<link-list class="mt-3">
<link-list-item label="Go to settings" url="{{ route('admin.settings.edit', 'general') }}"></link-list-item>
</link-list>
</div>
</div>
<div class="border-t border-gray-200 md:border-0 md:border-l">
<div class="px-4 py-5 sm:p-6">
<mini-heading icon="note" title="Legal" subtitle="Manage your application legal pages"></mini-heading>
<link-list class="mt-3">
<link-list-item label="Privacy Policy" url="asdasda"></link-list-item>
<link-list-item label="Terms and Conditions" url="asdasda"></link-list-item>
</link-list>
</div>
</div>
<div class="border-t border-gray-200 md:border-0 md:border-l">
<div class="px-4 py-5 sm:p-6">
<mini-heading icon="account_box" title="Plan" subtitle="Manage your application pricing plan"></mini-heading>
<link-list class="mt-3">
<link-list-item label="Privacy Policy" url="asdasda"></link-list-item>
<link-list-item label="Terms and Conditions" url="asdasda"></link-list-item>
</link-list>
</div>
</div>
</div>
</card>
@endsection

admin/setting/template.blade.php

@extends('layouts.admin')
@section('content')
<enable-warn></enable-warn>
<card class="mb-5">
<template v-slot:title>
<breadcrumbs>
<breadcrumb label="All Settings" url="{{ route('admin.settings.index') }}"></breadcrumb>
<breadcrumb label="{{ $_title }}"></breadcrumb>
</breadcrumbs>
</template>
</card>
<alpine inline-template :populate-data='{ model: @json($_model), options: { validateAfterChanged: true } }'>
<div>
<form action="{{ $_action }}" method="POST">
<prepare-form></prepare-form>
<card title="{{ $_title }}">
<template v-slot:content>
@errors
@alerts
<vfg is-row :model="data.model" :options="data.options" ref="form">
{!! $form !!}
</vfg>
</template>
<template v-slot:after-content>
<card-actions @delete="warnBeforeSubmit($refs.deleteForm)"></card-actions>
</template>
</card>
</form>
<form ref="deleteForm" action="{{ $_deleteAction }}" method="POST">
@csrf
@method('Delete')
</form>
</div>
</alpine>
@endsection

admin/setting/{group}.blade.php

{
type: "input",
inputType: "text",
inputName: "setings[general][name]"
}