how can I create a custom page in filament, outside of the dashboard auth?
for use of user invitation system, something with a layout like the register page, without filament middleware, but keep the filament functionality.
Is that possible?
8 Replies
Not really, just build a frontend view with livewire and use filament forms seperarely
sorry for asking, i just create custom livewire page, but when i use filament component, in this case im use wizard for form, the style css from that component not loaded, but when i call that component inside filament page, the style works well, is there a config's/else that i've been missed? tailwind path to blade is correct btw
you've missed the vite configuration
my vite config like this, following from filament
import { defineConfig } from 'vite';
import laravel from 'laravel-vite-plugin';
export default defineConfig({
plugins: [
laravel({
input: ['resources/css/app.css', 'resources/js/app.js', 'resources/css/filament/admin/theme.css'],
refresh: true,
}),
],
});
And your tailwind.config.js ?
like this
import withMT from "@material-tailwind/html/utils/withMT";
/ @type {import('tailwindcss').Config} */
export default withMT({
content: [
"./resources//.blade.php",
"./resources/**/.js",
"./node_modules/flowbite/*/.js"
],
theme: {
extend: {},
},
plugins: [],
});
You don't have:
'./resources/views/filament//*.blade.php',
'./vendor/filament//*.blade.php',
In there as per the linked documentation.