Support the ongoing development of Laravel.io →
Breeze Laravel Vue.js
0
moderator

Can you check the request that is executed from vue?

It looks like you route will be domain.tld/{locale}/sliders/{slider} where slider should be an integer that will be transformed to the Slider model but your error say it is a string.

0

I have checked the route.

Route is http://127.0.0.1:8000/en/sliders/2 Slider with id=2 also exists in the database

0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.