how to create a page with blade in laravel
Now we want to create a page in laravel what should we need for that
as in our html page , there are header, navigation, aside, body, footer tags
Now we would create templates for each as follows:
Note :they are just for an emaple , you can create as many templates as you want, and name
them as whatsoever you want to give them.
Now come to sexy part of blade extention , it would create a lot for you automatically .
And you do need for changing a whole of code, just pick the required template and make changes
and all is done.ok
<h1>this is my first laravel page</h1>
<p>i want to develop web applications</p>
Now come to //app/views/navigation.blade.php
<h3>important news !</h3>
<p>this is our main body part !<br/>
welcome to laravel</p>
Now we can create our mainpage with the following code
And in our exmaple template we put them together !
4 <html lang=”en”>
6 <meta charset=”UTF-8″>
for more go to laravel