samedi 2 février 2019

Laravel - Get HTML of current page or of a view according to a path

I have a view mypage.blade.php and a route.

The url is like : https://example.com/mypage/param1/param2. The route use param1 and param2 and generate the page.

Question 1

In that page, I try to get its HTML code. Is there a way to do it?. I tried render() but I don't get what I want.

Question 2

In the view, can I get the HTML code of an other view by specifying a path ?



from Newest questions tagged laravel-5 - Stack Overflow http://bit.ly/2SlKW2R
via IFTTT

Aucun commentaire:

Enregistrer un commentaire