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
RailsConf 2023
tenderlove
30
1.2k
It's Worth the Effort
3n
187
28k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
34
3.1k
Music & Morning Musume
bryan
46
6.8k
Code Review Best Practice
trishagee
70
19k
Stop Working from a Prison Cell
hatefulcrawdad
271
21k
Build The Right Thing And Hit Your Dates
maggiecrowley
37
2.9k
Building an army of robots
kneath
306
46k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Building a Scalable Design System with Sketch
lauravandoore
462
33k
Building Applications with DynamoDB
mza
96
6.6k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
61k
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