Thursday, March 16, 2017

Laravel(Shared hosting) - File not defined in asset manifest

I'm trying to running a laravel project in a shared hosting but i'm having the error: File css/app-backend.css not defined in asset manifest .

My folder structure is that:

- .htaccess
- css
- js
- laravel-code
- index.php

I edit the index.php :

require __DIR__.'/laravel-code/bootstrap/autoload.php';
$app = require_once __DIR__.'/laravel-code/bootstrap/app.php';

I also change the src of css and js files. Instead elixir i change to asset.

How can i solve that?

Thank you



via user3242861

Advertisement