I have this Blade:
<!DOCTYPE html>
<html lang="en" dir="rtl">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="style.css" />
<title>Document</title>
</head>
<body>
...
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<script src="./grid.js"></script>
</body>
</html>
As you can see I have called the style.css and the grid.js and they’re located in the root folder of public_html properly.
And here is also how I defined the public_html:
public function register()
{
$this->app->bind('path.public', function(){
return base_path() . '/public_html';
});
}
So what’s going wrong here? How can I solve this issue and properly load the blade?