F
Filament11mo ago
D5300

Vue 3 in custom page

For my application I need a custom page with a Vue app. Is it possible to to achieve something like this or am I bound to Livewire?
Solution:
I created a new route with a custom view. Added sanctum. I need the entire screen so this way I got all the flexibility
Jump to solution
15 Replies
krekas
krekas11mo ago
i have seen someone moved from vue to filament and for some pages used vue so yes it's possible
D5300
D5300OP11mo ago
Do you also know how? I’m thinking about injecting the app.js in to the footer but then the file loads every page
krekas
krekas11mo ago
haven't done it as it makes no sense. but you need to add js this can be done with render hooks and call vue components on those pages
D5300
D5300OP11mo ago
Why doesn’t it make sense? Using vue for a small “spa” in the application is faster then livewire
krekas
krekas11mo ago
then don't use filament at all
D5300
D5300OP11mo ago
Creating all the resources which are about 34 different ones, is perfect with filament. I only need a calendar
krekas
krekas11mo ago
there are plugins for calendar
D5300
D5300OP11mo ago
Doesn’t fit my needs That’s why I’m about to create a new one
mike
mike11mo ago
I'm late to the party. But @D5300, consider using Laravel Nova. It's built entirely on Vue.js.
Dennis Koch
Dennis Koch11mo ago
Just load that on your custom page.
D5300
D5300OP11mo ago
Filament is much more powerful and fulfilling my needs. I solved this differently
Dennis Koch
Dennis Koch11mo ago
I also had some old Vue components before migrating to Livewire/Alpine.
Solution
D5300
D530011mo ago
I created a new route with a custom view. Added sanctum. I need the entire screen so this way I got all the flexibility
Dennis Koch
Dennis Koch11mo ago
Makes sense then
D5300
D5300OP11mo ago
You guys made a beautiful piece of code 🫶
Want results from more Discord servers?
Add your server