You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Live previews doesn't work when you are using frameworks like Laravel. Example: In Laravel your pages are in a different folder called "resources/views". So lets say you have a PHP file located at: "resources/views/index.blade.php", live preview would redirect you to this file, however this file is visitable by any route you supplied. You must set a route and show the view on that route. Example, if you have the routing "home", the page is actually visitable at "(yoursite)/public/home" instead of "(yoursite)/resources/views/index.blade.php".
I hope it's clear enough for people that don't know what Laravel is.
The text was updated successfully, but these errors were encountered:
Sunday Feb 08, 2015 at 14:34 GMT
Originally opened as adobe/brackets#10549
Live previews doesn't work when you are using frameworks like Laravel. Example: In Laravel your pages are in a different folder called "resources/views". So lets say you have a PHP file located at: "resources/views/index.blade.php", live preview would redirect you to this file, however this file is visitable by any route you supplied. You must set a route and show the view on that route. Example, if you have the routing "home", the page is actually visitable at "(yoursite)/public/home" instead of "(yoursite)/resources/views/index.blade.php".
I hope it's clear enough for people that don't know what Laravel is.
The text was updated successfully, but these errors were encountered: