Build Modern Laravel Apps Using Inertia.js - Ep 10, Shared Data
ฝัง
- เผยแพร่เมื่อ 7 ก.พ. 2025
- Now that we've successfully extracted a Layout component, the next thing we need to sort out is how to share data across components. Luckily, Inertia provides a nice and friendly solution that we'll review in this episode.
Watch this full series, track your progress, and participate in a massive Laravel community at Laracasts.
Laracasts: laracasts.com
Build Modern Laravel Apps Using Inertia.js: laracasts.com/...
Laracasts Twitter: / laracasts
Jeffrey Way Twitter: / jeffrey_way
I have never seen such a proffessional tutorial before.
You're a Gem 💎 I love the way you teach so smoothly and satisfyingly to listen and watch ♥ ♥ ♥ ♥ ♥
Thanks, Jack!
Stunning Tutorial
For anyone needing this:
const pageProps = reactive(usePage())
const username = computed(() => pageProps.props?.auth?.user?.username)
Thank you .
great tutorial.
Want to see some designing tutorial from your designer too.
extremely useful 👌🏻
Hi
I have question
Can we install pinia or vuex in inertiajs ?
If your answer is positive, please show a way for it, otherwise, how should we control this case ?
Why did you add this prefix to $page variable, what would happen if i didn't add it?
I need those vscode extentions that you present, could you please list down what's vscode components that you use? thank you
its phpstorm not vscode
i love the phpstorm settings? can you share?
I don't have an export to share right now, but the main component is the Nord theme, which you can install from the marketplace plugins section.
Why just don't pass the name to the navbar component. It doesn't matter in what page you render it, you will have it always available.