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 45a8d4c commit 14389edCopy full SHA for 14389ed
resources/views/welcome.blade.php renamed to resources/views/app.blade.php
routes/web.php
@@ -1,16 +1,6 @@
1
<?php
2
3
-/*
4
-|--------------------------------------------------------------------------
5
-| Web Routes
6
7
-|
8
-| Here is where you can register web routes for your application. These
9
-| routes are loaded by the RouteServiceProvider within a group which
10
-| contains the "web" middleware group. Now create something great!
11
12
-*/
13
-
14
-Route::get('/', function () {
15
- return view('welcome');
16
-});
+// We Will Use Vue Router Instead of Laravel Routing System
+Route::get('/{vue?}', function () {
+ return view('app');
+})->where('vue', '[\/\w\.-]*')->name('app');
0 commit comments