- Laravel
+ {{$name}} {{$say}} Laravel
diff --git a/routes/web.php b/routes/web.php
index 12fc04c..64bceb3 100644
--- a/routes/web.php
+++ b/routes/web.php
@@ -9,10 +9,10 @@
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
-*/
+ */
Route::get('/', function () {
- return view('welcome');
+ return view('welcome', ['name' => 'tad', 'say' => '嗨!']);
});
Auth::routes();