I am new using laravel on blade templates. So, everything I code the mamp server not showing the results of the code but just the code 
Update: Route: http://localhost:90/shopping-cart/resources/views/shop/index.blade.php Code:
@extends('layouts.master')
@section('title', 'Laravel Shopping Cart')
@endsection
@section('content')
<h1>It works!!</h1>
@endsection
controller.php file
<?php
namespace App\Http\Controllers;
use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
use Illuminate\Foundation\Bus\DispatchesJobs;
use Illuminate\Foundation\Validation\ValidatesRequests;
use Illuminate\Routing\Controller as BaseController;
class Controller extends BaseController
{
use AuthorizesRequests, DispatchesJobs, ValidatesRequests;
}
Aucun commentaire:
Enregistrer un commentaire