andresilvagomez
Exception when using Vapor with Octane
I used this code to fix all asserts
FilamentAsset::register([
Js::make('app', asset('js/filament/filament/app.js'))->core(),
Js::make('echo', asset('js/filament/filament/echo.js'))->core(),
Theme::make('app', Vite::asset('resources/css/filament/app/theme.css')),
], 'filament/filament');
FilamentAsset::register([
AlpineComponent::make('color-picker', asset('js/filament/forms/components/color-picker.js')),
AlpineComponent::make('date-time-picker', asset('js/filament/forms/components/date-time-picker.js')),
AlpineComponent::make('file-upload', asset('js/filament/forms/components/file-upload.js')),
AlpineComponent::make('key-value', asset('js/filament/forms/components/key-value.js')),
AlpineComponent::make('markdown-editor', asset('js/filament/forms/components/markdown-editor.js')),
AlpineComponent::make('rich-editor', asset('js/filament/forms/components/rich-editor.js')),
AlpineComponent::make('select', asset('js/filament/forms/components/select.js')),
AlpineComponent::make('tags-input', asset('js/filament/forms/components/tags-input.js')),
....
FilamentAsset::register([
Js::make('app', asset('js/filament/filament/app.js'))->core(),
Js::make('echo', asset('js/filament/filament/echo.js'))->core(),
Theme::make('app', Vite::asset('resources/css/filament/app/theme.css')),
], 'filament/filament');
FilamentAsset::register([
AlpineComponent::make('color-picker', asset('js/filament/forms/components/color-picker.js')),
AlpineComponent::make('date-time-picker', asset('js/filament/forms/components/date-time-picker.js')),
AlpineComponent::make('file-upload', asset('js/filament/forms/components/file-upload.js')),
AlpineComponent::make('key-value', asset('js/filament/forms/components/key-value.js')),
AlpineComponent::make('markdown-editor', asset('js/filament/forms/components/markdown-editor.js')),
AlpineComponent::make('rich-editor', asset('js/filament/forms/components/rich-editor.js')),
AlpineComponent::make('select', asset('js/filament/forms/components/select.js')),
AlpineComponent::make('tags-input', asset('js/filament/forms/components/tags-input.js')),
....
4 replies