We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f6490bc commit d3cd78bCopy full SHA for d3cd78b
src/inertiajs-stubs/routes/web.php
@@ -0,0 +1,26 @@
1
+<?php
2
+
3
+use Inertia\Inertia;
4
5
+/*
6
+|--------------------------------------------------------------------------
7
+| Web Routes
8
9
+|
10
+| Here is where you can register web routes for your application. These
11
+| routes are loaded by the RouteServiceProvider within a group which
12
+| contains the "web" middleware group. Now create something great!
13
14
+*/
15
16
+Route::get('/', function () {
17
+ return Inertia::render('Welcome');
18
+});
19
20
+Route::get('/about', function () {
21
+ return Inertia::render('About');
22
23
24
+Route::get('/contact', function () {
25
+ return Inertia::render('Contact');
26
0 commit comments