install
This commit is contained in:
3
stubs/filament/ColumnView.stub
Normal file
3
stubs/filament/ColumnView.stub
Normal file
@@ -0,0 +1,3 @@
|
||||
<div {{ $getExtraAttributeBag() }}>
|
||||
{{ $getState() }}
|
||||
</div>
|
||||
3
stubs/filament/ComponentView.stub
Normal file
3
stubs/filament/ComponentView.stub
Normal file
@@ -0,0 +1,3 @@
|
||||
<div>
|
||||
{{-- Use $getChildSchema() to render the child schema() of this component. --}}
|
||||
</div>
|
||||
8
stubs/filament/EntryView.stub
Normal file
8
stubs/filament/EntryView.stub
Normal file
@@ -0,0 +1,8 @@
|
||||
<x-dynamic-component
|
||||
:component="$getEntryWrapperView()"
|
||||
:entry="$entry"
|
||||
>
|
||||
<div {{ $getExtraAttributeBag() }}>
|
||||
{{ $getState() }}
|
||||
</div>
|
||||
</x-dynamic-component>
|
||||
11
stubs/filament/FieldView.stub
Normal file
11
stubs/filament/FieldView.stub
Normal file
@@ -0,0 +1,11 @@
|
||||
<x-dynamic-component
|
||||
:component="$getFieldWrapperView()"
|
||||
:field="$field"
|
||||
>
|
||||
<div
|
||||
x-data="{ state: $wire.$entangle(@js($getStatePath())) }"
|
||||
{{ $getExtraAttributeBag() }}
|
||||
>
|
||||
{{-- Interact with the `state` property in Alpine.js --}}
|
||||
</div>
|
||||
</x-dynamic-component>
|
||||
11
stubs/filament/LivewireFormView.stub
Normal file
11
stubs/filament/LivewireFormView.stub
Normal file
@@ -0,0 +1,11 @@
|
||||
<div>
|
||||
<form wire:submit="{{ submitAction }}">
|
||||
{{ $this->form }}
|
||||
|
||||
<button type="submit">
|
||||
Submit
|
||||
</button>
|
||||
</form>
|
||||
|
||||
<x-filament-actions::modals />
|
||||
</div>
|
||||
5
stubs/filament/LivewireSchemaView.stub
Normal file
5
stubs/filament/LivewireSchemaView.stub
Normal file
@@ -0,0 +1,5 @@
|
||||
<div>
|
||||
{{ $this->content }}
|
||||
|
||||
<x-filament-actions::modals />
|
||||
</div>
|
||||
3
stubs/filament/LivewireTableView.stub
Normal file
3
stubs/filament/LivewireTableView.stub
Normal file
@@ -0,0 +1,3 @@
|
||||
<div>
|
||||
{{ $this->table }}
|
||||
</div>
|
||||
3
stubs/filament/PageView.stub
Normal file
3
stubs/filament/PageView.stub
Normal file
@@ -0,0 +1,3 @@
|
||||
<x-filament-panels::page>
|
||||
{{-- Page content --}}
|
||||
</x-filament-panels::page>
|
||||
3
stubs/filament/RichContentCustomBlockPreviewView.stub
Normal file
3
stubs/filament/RichContentCustomBlockPreviewView.stub
Normal file
@@ -0,0 +1,3 @@
|
||||
<div>
|
||||
{{-- Custom block preview --}}
|
||||
</div>
|
||||
3
stubs/filament/RichContentCustomBlockView.stub
Normal file
3
stubs/filament/RichContentCustomBlockView.stub
Normal file
@@ -0,0 +1,3 @@
|
||||
<div>
|
||||
{{-- Custom block --}}
|
||||
</div>
|
||||
4
stubs/filament/ThemeCss.stub
Normal file
4
stubs/filament/ThemeCss.stub
Normal file
@@ -0,0 +1,4 @@
|
||||
@import '../../../../vendor/filament/filament/resources/css/theme.css';
|
||||
|
||||
@source '../../../../app/Filament/{{ classDirectory }}**/*';
|
||||
@source '../../../../resources/views/filament/{{ viewDirectory }}**/*';
|
||||
5
stubs/filament/WidgetView.stub
Normal file
5
stubs/filament/WidgetView.stub
Normal file
@@ -0,0 +1,5 @@
|
||||
<x-filament-widgets::widget>
|
||||
<x-filament::section>
|
||||
{{-- Widget content --}}
|
||||
</x-filament::section>
|
||||
</x-filament-widgets::widget>
|
||||
Reference in New Issue
Block a user