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
73
Introduction to Web3.0
hirendave
0
240
Using Vite with Laravel
hirendave
0
40
Step Into World of NodeJS
hirendave
0
40
Transfer Learning with TensorFlow
hirendave
0
64
Reactive Programming in Angular with RxJs
hirendave
0
59
AMP-lify your Web Apps
hirendave
0
27
Laravel Eloquent & Its Hidden Power
hirendave
0
110
Featured
See All Featured
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
50
5.5k
Being A Developer After 40
akosma
90
590k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
233
17k
Statistics for Hackers
jakevdp
799
220k
A Tale of Four Properties
chriscoyier
160
23k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
29
1.8k
Building Applications with DynamoDB
mza
95
6.5k
Site-Speed That Sticks
csswizardry
10
690
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
251
21k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
18
970
Reflections from 52 weeks, 52 projects
jeffersonlam
351
20k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
35
2.4k
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