Siguiendo un tuto de vue <3

This commit is contained in:
Daniel Cortés
2019-06-16 17:37:08 -04:00
parent d5ff988b08
commit 2f09a63357
9 changed files with 70 additions and 41 deletions

View File

@@ -1,16 +1,3 @@
<?php
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| 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');
});
Route::get('/{any}', 'SpaController@index')->where('any', '.*');