Hey Alex, as we are using nuxt why not render posts on server side
Episode 9 "message": "CSRF token mismatch.", while submitting to api/posts
I accidently put C as capital in axios: { baseUrl: 'http://localhost:8000', credentials: true }
alex , plz put codes
As always, nicely done Alex.
I love your courses, though it would be nice to see things in more of a real world scenario instead of always defaulting to "let's just keep it simple."
Real world development is in no way simple. Real domains, SSL, build and deploy processes all need to be taken into account.
I really love the way you teach though, I just wish the courses were less theory/proof of concept and more practical real world examples of how to make stuff for production.
Cheers
will you be adding media attatchments?
In Step 2, don't forget to add:
SANCTUM_STATEFUL_DOMAINS=localhost:3000
to your Laravel .env file, otherwise the authentication redirect will not work.
Hello @Alex , for the CORS to work I also had to change 'supports_credentials' => true in cors.php/
Nice!! Will you cover deployment to real server?
Yes +1 Please, we really appreciate it if you could complete this course by the deployment phase in Laravel Forge for example.
I know you are a big fan of Websockets and the packages available for laravel. But what about a (newer) technology like mercure (https://mercure.rocks/)? Will you try that in the future? I use it in another projects. Works really good and is a very interesting technology.
withCount('likes') and likes_count are better here, much more efficient and you're not loading tons of data you don't need
Hi @alex, Please teach us how to make a filter by checkbox with laravel and vue js passing parameter on address bar same as that we see on eCommerce website. Thanks
Episode 5, I'm getting csrf-cookie status: canceled
You forgot to
event.preventDefault();
so your page doesn't refresh