اپهای مدرن Laravel را با Inertia.js بسازید
Build Modern Laravel Apps Using Inertia.js
Inertia.js is an incredible tool that glues a server-side framework, like Laravel, to a client-side framework, like Vue. With Inertia, you can continue using server-side routing, and controllers, and authentication, and validation. With Inertia, you don't need to learn how to build an API, and you definitely don't need to use OAuth. Instead, relax and continue creating apps the way you traditionally would.
I really think you're going to enjoy Inertia as much as I do. In fact, Laracasts itself uses Inertia under the hood; I wouldn't have it any other way.
قسمتهای دوره
The Basics (18)
Inertia.js چیست؟
5m 36sDiscover what Inertia.js is and isn’t in this quick intro—get clear insights to help you build modern, seamless single-page apps with ease.
نصب و پیکربندی Inertia
6m 23sInstall and configure Inertia with Laravel and Vue—set up adapters, create your layout, and compile assets for a seamless modern app build.
Create your first Inertia Page component—build dynamic, client-side views like Blade templates for a smoother, modern Laravel app experience.
لینکهای Inertia
7m 14sLearn how to create seamless page links with Inertia's Link component—no full refresh, just smooth AJAX navigation for faster, modern web apps.
نشانگرهای پیشرفت
1m 57sAdd Inertia’s progress indicator to show a sleek loading bar during long server requests, enhancing user feedback and improving your app’s experience.
انجام درخواستهای غیر GET
6m 44sLearn how to use Inertia’s Link component to perform non-GET requests like POST, enabling actions such as logging out with seamless, interactive buttons.
حفظ موقعیت اسکرول
4m 4sLearn how to preserve scroll position in Inertia.js using the preserve-scroll attribute, keeping user context intact during page updates for a smoother experience.
لینکهای فعال
6m 45sLearn how to highlight active navigation links using Inertia’s $page.url and $page.component, improving user experience with clear visual feedback.
فایلهای چیدمان
7m 22sLearn how to create layout files to centralize consistent UI elements like navigation, simplifying your app and improving user experience across pages.
دادههای مشترک
6m 48sDiscover how to easily share data across components using Inertia’s friendly approach, streamlining your app’s state management and improving development flow.
ثبت سراسری کامپوننت
4m 28sLearn how to register global components in your app to simplify usage—like making Inertia’s Link available everywhere without repetitive imports.
چیدمانهای پایدار
3m 56sLearn how to create persistent layouts in your app to keep state alive across pages—perfect for features like uninterrupted podcast playback while browsing.
چیدمانهای پیشفرض
2m 35sLearn how to set up default layouts in your app to avoid manually importing and assigning layouts for every page, streamlining your development process.
تقسیم کد و واردات پویا
5m 16sDiscover how dynamic imports enable code splitting to load JavaScript asynchronously, improving your app’s performance as users navigate your site.
عنوان پویا و برچسبهای متا
9m 16sMake your HTML head dynamic with Inertia's Head component - set titles and meta tags easily for better SEO and UX.
یک نگرانی امنیتی مهم SPA
6m 53sLearn key SPA security tips to protect private data when fetching with AJAX. Ensure your app safely handles Eloquent data without exposing sensitive info.
Easily add pagination to your Laravel app. Learn how to display user-friendly pagination links below your users table for smooth navigation and better UX.
فیلتر کردن، وضعیت و رشتههای کوئری
13m 36sImplement real-time search filtering with query strings and state. Learn to refresh user tables instantly as you type for a smooth, dynamic experience.
Forms (3)
فرمهای Inertia ۱۰۱
10m 47sMaster form handling with Vue, Inertia, and Laravel. Learn to asynchronously submit user creation forms for a powerful, flexible, and familiar experience.
نمایش پیامهای اعتبارسنجی ناموفق
5m 32sLearn how to display clear, red validation messages below inputs on failure. Improve your form UX by handling errors gracefully and engaging users effectively.
هلپر فرم Inertia
7m 23sPrevent multiple form submissions and simplify handling with Inertia’s form helper. Learn how to disable buttons and streamline form interactions easily.
Authentication and Authorization (2)
احراز هویت با Inertia
17mAuthenticate seamlessly with Inertia and Laravel—no tokens or OAuth needed. Learn familiar, simple form submission for smooth, server-side authentication.
نکات مجوزدهی
9m 3sLearn smart authorization techniques to avoid duplicating logic. Pass authorization from controllers as props for cleaner, efficient server and client code.




