ghc
ghc
FFilament
Created by ghc on 11/10/2023 in #❓┊help
Custom pages tailwind and Navigation question
No description
4 replies
FFilament
Created by ghc on 11/10/2023 in #❓┊help
Custom pages tailwind and Navigation question
No description
4 replies
FFilament
Created by ghc on 11/9/2023 in #❓┊help
Custom pages Navigation tailwind question
and i create the resources\css\filament.css
add the app\Providers\FilamentServiceProvider.php
Filament::serving(function () {
Filament::registerTheme(
app(Vite::class)('resources\css\filament.css'),
);
Filament::serving(function () {
Filament::registerTheme(
app(Vite::class)('resources\css\filament.css'),
);
vite.config.js is set ok
import { defineConfig } from 'vite';
import laravel, { refreshPaths } from 'laravel-vite-plugin';

export default defineConfig({
plugins: [
laravel({
input: [
'resources/css/app.css',
'resources/js/app.js',
'resources/css/filament.css',
],
refresh: [
...refreshPaths,
'app/Http/Livewire/**',
],
}),
],
});
import { defineConfig } from 'vite';
import laravel, { refreshPaths } from 'laravel-vite-plugin';

export default defineConfig({
plugins: [
laravel({
input: [
'resources/css/app.css',
'resources/js/app.js',
'resources/css/filament.css',
],
refresh: [
...refreshPaths,
'app/Http/Livewire/**',
],
}),
],
});
6 replies
FFilament
Created by ghc on 11/9/2023 in #❓┊help
Custom pages Navigation tailwind question
import defaultTheme from 'tailwindcss/defaultTheme';
import forms from '@tailwindcss/forms';
import colors from 'tailwindcss/colors'
import typography from '@tailwindcss/typography';

/** @type {import('tailwindcss').Config} */
export default {
content: [
'./vendor/laravel/framework/src/Illuminate/Pagination/resources/views/*.blade.php',
'./vendor/laravel/jetstream/**/*.blade.php',
'./storage/framework/views/*.php',
'./resources/views/**/*.blade.php',
],

theme: {
extend: {
fontFamily: {
sans: ['Figtree', ...defaultTheme.fontFamily.sans],
},
colors: {
danger: colors.rose,
primary: colors.green,
success: colors.gray,
warning: colors.yellow,
},
},
},

plugins: [forms, typography],
};
import defaultTheme from 'tailwindcss/defaultTheme';
import forms from '@tailwindcss/forms';
import colors from 'tailwindcss/colors'
import typography from '@tailwindcss/typography';

/** @type {import('tailwindcss').Config} */
export default {
content: [
'./vendor/laravel/framework/src/Illuminate/Pagination/resources/views/*.blade.php',
'./vendor/laravel/jetstream/**/*.blade.php',
'./storage/framework/views/*.php',
'./resources/views/**/*.blade.php',
],

theme: {
extend: {
fontFamily: {
sans: ['Figtree', ...defaultTheme.fontFamily.sans],
},
colors: {
danger: colors.rose,
primary: colors.green,
success: colors.gray,
warning: colors.yellow,
},
},
},

plugins: [forms, typography],
};
this is my tailwind setting tailwind.config.js
6 replies
FFilament
Created by ghc on 11/9/2023 in #❓┊help
Custom pages Navigation tailwind question
No description
6 replies
FFilament
Created by ghc on 11/9/2023 in #❓┊help
Custom pages Navigation tailwind question
No description
6 replies
FFilament
Created by ghc on 8/28/2023 in #❓┊help
Translate other languages.
"In vendor\filament\filament\src\Resources\Pages\Page.php, I didn't see protected static ?string $modelLabel = null; like what's in vendor\filament\filament\src\Resources\Resource.php, so using protected static ?string $modelLabel in app\Filament\Resources\AttendanceResource\Pages\Attend.php doesn't have any effect. Should I define it in vendor\filament\filament\src\Resources\Pages\Page.php?"
21 replies
FFilament
Created by ghc on 8/28/2023 in #❓┊help
Translate other languages.
No description
21 replies
FFilament
Created by ghc on 8/28/2023 in #❓┊help
Translate other languages.
This method works for Resources, but it is not effective for Custom pages
21 replies
FFilament
Created by ghc on 8/28/2023 in #❓┊help
Translate other languages.
is there a way to change the titles? This is the last section
21 replies
FFilament
Created by ghc on 8/28/2023 in #❓┊help
Translate other languages.
i sucess the table part and button
21 replies
FFilament
Created by ghc on 8/28/2023 in #❓┊help
Translate other languages.
No description
21 replies
FFilament
Created by ghc on 8/28/2023 in #❓┊help
Translate other languages.
I successfully switched the language for navigation. However, I'm not quite sure how to translate the titles and the text inside the tables (not the data) on those pages. I went through the Laravel documentation you provided and tried to follow it, but it doesn't seem to work. Or maybe I misunderstood something
21 replies
FFilament
Created by ghc on 8/28/2023 in #❓┊help
Translate other languages.
No description
21 replies
FFilament
Created by ghc on 8/14/2023 in #❓┊help
Create new Announce Exception
How do I understand $casts? Is it a forced data type conversion?
13 replies
FFilament
Created by ghc on 8/14/2023 in #❓┊help
Create new Announce Exception
What should I do with my draft (is Boolean)? Should I add it to fillable?
13 replies
FFilament
Created by ghc on 8/14/2023 in #❓┊help
Create new Announce Exception
Can you show me an example? I don't quite understand.
13 replies
FFilament
Created by ghc on 8/14/2023 in #❓┊help
Create new Announce Exception
13 replies
FFilament
Created by ghc on 8/14/2023 in #❓┊help
Create new Announce Exception
13 replies
FFilament
Created by ghc on 8/14/2023 in #❓┊help
Create new Announce Exception
13 replies