I'm using Laravel 5.1 and I watched Jeffrey's video about how to fix the facades issues. Now, Everything almost works perfect.
when I try code on my views for example:
<script type="text/javascript" src="assets/js/page.js"></script>
phpStorm marks this location as an error because he cannot resolve the location of the file because he's looking for the file Root/app/resources/views/layouts/assets/js/page.js
which doesn't exists.
How can I fix this?
Step 1: Click on the File Menu
Step 2: Click on Settings
, the following image should appear somewhat. (Yours may be different than mine)
Step 3: In the search bar, type Directories
, see the image:
Step 4: When you see the root
of your project
, click on the it and click on the Resource Root
to mark it as the root of your project.
Step 5: Click on Apply
Step 6: Click on OK
And your query will be resolved. Hope this helps you out.