Route [voyager.contact.index] not defined.
Hey Bobby!
I'm following your post from 2019: Contact Form with Voyager and Laravel (https://devdojo.com/bobbyiliev/contact-form-with-voyager-and-laravel) with no success. At the end of step 1, the submit button, the process gives me an error - Route [voyager.contact.index] not defined. For more info, visit the link for more information- https://flareapp.io/share/NPLjw1Q5#F64
Anyways, this process database menu kept giving me the same error. So, after running optimize:clear and optimize it worked again. So, I continue with your contact post until completed. Note: I notice that the Contact.php was created at app and not at app/Models.
At the last part, I couldn't complete the test because of another error: Target class [ContactController] does not exist. Here is the link for more info - https://flareapp.io/share/x7K9w2Zm#F35
Please, let me know if you have a tutorial of creating a contact form with wave.
I couldn't win any today... Time to step away and relax.
Hey!
Ah yes, that is quite an outdated tutorial. I have to update it with the latest changes from Voyager and Wave.
But what I could suggest is to follow this tutorial here by @thinkverse which uses Livewire and follows the best practices in terms of migrations and using Mailable
classes:
How to create a Contact Us form with Livewire. 👋
Let me know how it goes!
















The notification part didn't work as expected, but at least I'm getting the messages.
Thank you for the tutorial.















