I have deployed a Laravel web application in a shared hosting environment. When I try to authenticate, it pops out that mix-manifest is missing.
guest.blade.php
<!-- Styles -->
<link rel="stylesheet" href="{{ mix('css/app.css') }}">
<!-- Scripts -->
<script src="{{ mix('js/app.js') }}" defer></script>
</head> -->
My mix-manifest.json file is located in the root folder for the specific domain, e.g., domain folder->mix-manifest.json and CSS/JS folder are in the same folder. I ran npm install and npm dev in my localhost, and here is the content of my mix-manifest.json file.
{
"/js/app.js": "/js/app.js",
"/css/app.css": "/css/app.css"
}
I also set the path in providers -> Appservice providers under the boot method.
$this->app->bind('path.public', function() {
return realpath(base_path().'/../public_html');
});
Still, no luck. Can anybody tell me how to set it for mix-manifest file identification in a shared hosting environment?