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
43
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
30
Whats New in Web Platform from Google I/O 2022
hirendave
0
71
Introduction to Web3.0
hirendave
0
230
Using Vite with Laravel
hirendave
0
40
Step Into World of NodeJS
hirendave
0
39
Transfer Learning with TensorFlow
hirendave
0
62
Reactive Programming in Angular with RxJs
hirendave
0
58
AMP-lify your Web Apps
hirendave
0
25
Laravel Eloquent & Its Hidden Power
hirendave
0
100
Featured
See All Featured
RailsConf 2023
tenderlove
29
1k
Building Your Own Lightsaber
phodgson
104
6.2k
The MySQL Ecosystem @ GitHub 2015
samlambert
250
12k
Practical Orchestrator
shlominoach
186
10k
Reflections from 52 weeks, 52 projects
jeffersonlam
348
20k
The Language of Interfaces
destraynor
156
24k
Gamification - CAS2011
davidbonilla
80
5.1k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
251
21k
A Philosophy of Restraint
colly
203
16k
The Cult of Friendly URLs
andyhume
78
6.2k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
4
410
Building Better People: How to give real-time feedback that sticks.
wjessup
367
19k
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