Framework Laravel

-1

I am new to the Laravel Framework 5.3 and can not change the default index, which is the /Resources/views/welcome.blade.php file.

I've tried two things:

  • Change default file;
  • Create a new file and change the route to /routes/web.php .
  • On these two paths, the page remained the same.

        
    asked by anonymous 29.11.2016 / 02:15

    2 answers

    1
      

    and I can not change the default index, which is the /resources/views/welcome.blade.php file.

    You changed welcome.blade.php , saved after change, and did not change when refreshing the browser? And in the other option, did you create a nome_novo.blade.php file in the views directory and added the route using nome_novo ?

        
    24.12.2016 / 14:42
    0

    Go to the file containing the routes:

      

    application / routes.php

    and set the controller to redirect to your view

        Route::get('/', function()
    {
        // controller para seu template
    });
    
        
    29.11.2016 / 02:48