Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Working with InertiaJS and Laravel
Search
Hiren Dave
September 29, 2019
0
46
Working with InertiaJS and Laravel
Hiren Dave
September 29, 2019
Tweet
Share
More Decks by Hiren Dave
See All by Hiren Dave
Demystifying UI security
hirendave
0
32
Whats New in Web Platform from Google I/O 2022
hirendave
0
75
Introduction to Web3.0
hirendave
0
240
Using Vite with Laravel
hirendave
0
43
Step Into World of NodeJS
hirendave
0
41
Transfer Learning with TensorFlow
hirendave
0
66
Reactive Programming in Angular with RxJs
hirendave
0
61
AMP-lify your Web Apps
hirendave
0
28
Laravel Eloquent & Its Hidden Power
hirendave
0
110
Featured
See All Featured
Why Our Code Smells
bkeepers
PRO
339
57k
Speed Design
sergeychernyshev
32
1.1k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
48
9.7k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
8
920
BBQ
matthewcrist
89
9.8k
Java REST API Framework Comparison - PWX 2021
mraible
33
8.8k
Scaling GitHub
holman
463
140k
Navigating Team Friction
lara
189
15k
Done Done
chrislema
185
16k
Faster Mobile Websites
deanohume
309
31k
The Power of CSS Pseudo Elements
geoffreycrofte
77
6k
Unsuck your backbone
ammeep
671
58k
Transcript
Use InertiaJS with Laravel and VueJS
Hiren Dave Programmer | Tech Blogger | Tech Author |
Tech Speaker I am a programmer and I will not fix your PC “ ”
Introduction to InertiaJS What We Will Cover 1 2 3
Using InertiaJS Laravel Adapter Using InertiaJs VueJs Adapter
Introduction to InertiaJS Created By Jonathan Renink First released in
2019 Modern Monolith for building Web apps Multi Task Learning / Self Taught Learning
What is wrong with Client Side Apps Manage client side
routing Data fetch with APIs Maintain state of the application
Benefits of Server Driven Apps Less API integration Data management
and routing on server
Getting Started with InertiaJS
Getting Started with InertiaJS class UsersController extends Controller { public
function index() { return view('users.index',[ 'users'=>User::all() ]); } }
Getting Started with InertiaJS class UsersController extends Controller { public
function index() { return inertia(‘Users/index',[ 'users'=>User::all() ]); } }
Using InertiaJS Laravel / VueJS Adapter composer require inertiajs/inertia-laravel
Let’s Check Demo
Questions? Do you’ve any question
Twitter: @hjdave Mobile: 8200984315 Email:
[email protected]
Website http://hirendave.tech http://hiren.dev