2l30926048
Unable to locate file in Vite manifest: .../admin/theme.css
This is what I have in the Vite config file, the path to the admin/theme.css file is correct (theme created using artisan command).
import { defineConfig } from 'vite';
import laravel from 'laravel-vite-plugin';
import vue from '@vitejs/plugin-vue';
export default defineConfig({
plugins: [
laravel({
input: [
'resources/css/app.css',
'resources/css/filament/admin/theme.css',
'resources/js/app.js',
],
ssr: 'resources/js/ssr.js',
refresh: true,
}),
vue({
template: {
transformAssetUrls: {
base: null,
includeAbsolute: false,
},
},
}),
],
});
The error only happens in production environment (after running npm run build)
Also the manifest file exists, the file reference is present and also the file exists in the assets folder.
Am I missing something ? Thanks guys
6 replies
Json column casted as array searchable in filament admin panel
Hey,
Do you know how I can make a text column searchable in filament if it's a json column casted as an array in the model.
The arrays look like this:
[
"value1", "value2", "value3", "etc"
]
What I tried but it seems to not work:
Tables\Columns\TextColumn::make('persons')->label('Persons')
->searchable()
->listWithLineBreaks()
->limitList(2)
->expandableLimitedList(),
This method is not working, 0 results.
Thanks!
3 replies